|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.LinkProvider
@Singleton public class LinkProvider
Provider for Link Headers.
| Constructor Summary | |
|---|---|
LinkProvider()
|
|
| Method Summary | |
|---|---|
Link |
fromString(String value)
Parse the supplied value and create an instance of T. |
boolean |
supports(Class<?> type)
Ascertain if the Provider supports a particular type. |
String |
toString(Link value)
Convert the supplied value to a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkProvider()
| Method Detail |
|---|
public boolean supports(Class<?> type)
HeaderDelegateProvider
supports in interface HeaderDelegateProvider<Link>type - the type that is to be supported.
public Link fromString(String value)
throws IllegalArgumentException
RuntimeDelegate.HeaderDelegateT.
fromString in interface RuntimeDelegate.HeaderDelegate<Link>value - the string value.
T.
IllegalArgumentException - if the supplied string cannot be
parsed or is null.public String toString(Link value)
RuntimeDelegate.HeaderDelegate
toString in interface RuntimeDelegate.HeaderDelegate<Link>value - the value of type T.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||