Java Code Examples for javax.ws.rs.core.Link#fromLink()
The following examples show how to use
javax.ws.rs.core.Link#fromLink() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ResponseImpl.java From everrest with Eclipse Public License 2.0 | 5 votes |
@Override public Link.Builder getLinkBuilder(String relation) { Link link = getLink(relation); if (link == null) { return null; } return Link.fromLink(link); }
Example 2
Source File: ResponseImpl.java From cxf with Apache License 2.0 | 4 votes |
public Link.Builder getLinkBuilder(String relation) { Link link = getLink(relation); return link == null ? null : Link.fromLink(link); }