|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.core.impl.provider.header.LinkHeaderProvider
public class LinkHeaderProvider
Provider for Link Headers.
Constructor Summary | |
---|---|
LinkHeaderProvider()
|
Method Summary | |
---|---|
LinkHeader |
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(LinkHeader 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 LinkHeaderProvider()
Method Detail |
---|
public boolean supports(Class<?> type)
HeaderDelegateProvider
supports
in interface HeaderDelegateProvider<LinkHeader>
type
- the type that is to be supported.
public LinkHeader fromString(String value) throws IllegalArgumentException
RuntimeDelegate.HeaderDelegate
T
.
fromString
in interface RuntimeDelegate.HeaderDelegate<LinkHeader>
value
- the string value
T
IllegalArgumentException
- if the supplied string cannot be
parsed or is nullpublic String toString(LinkHeader value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate<LinkHeader>
value
- the value of type T
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |