Package org.archfirst.bfoms.restservice.util

Examples of org.archfirst.bfoms.restservice.util.Link


        // Create link to self
        URI selfUri = uriInfo.getAbsolutePathBuilder()
            .path(request.getUsername())
            .build();
        Link self = new Link("self", selfUri);

        return Response.created(self.getUri()).entity(self).build();
    }
View Full Code Here


        // Create link to self
        URI selfUri = uriInfo.getAbsolutePathBuilder()
            .path(Long.toString(id))
            .build();
        Link self = new Link("self", selfUri);

        return Response.created(self.getUri()).entity(self).build();
    }
View Full Code Here

TOP

Related Classes of org.archfirst.bfoms.restservice.util.Link

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.