Package com.sun.jersey.server.linking

Examples of com.sun.jersey.server.linking.Links


    private void findLinkHeaders(Class<?> entityClass) {
        Link linkHeaderAnnotation = entityClass.getAnnotation(Link.class);
        if (linkHeaderAnnotation != null) {
            linkHeaders.add(new LinkDescriptor(linkHeaderAnnotation));
        }
        Links linkHeadersAnnotation = entityClass.getAnnotation(Links.class);
        if (linkHeadersAnnotation != null) {
            for (Link linkHeader: linkHeadersAnnotation.value()) {
                linkHeaders.add(new LinkDescriptor(linkHeader));
            }
        }

        // look in superclasses
View Full Code Here

TOP

Related Classes of com.sun.jersey.server.linking.Links

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.