Class LinkHeaderDelegate
- java.lang.Object
-
- org.jboss.resteasy.plugins.delegates.LinkHeaderDelegate
-
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<LinkHeader>
public class LinkHeaderDelegate extends Object implements RuntimeDelegate.HeaderDelegate<LinkHeader>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static LinkHeaderDelegateINSTANCE
-
Constructor Summary
Constructors Constructor Description LinkHeaderDelegate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkHeaderfrom(String value)LinkHeaderfromString(String value)Parse the supplied value and create an instance ofT.static StringgetString(LinkHeader value)StringtoString(LinkHeader value)Convert the supplied value to a String.
-
-
-
Field Detail
-
INSTANCE
public static final LinkHeaderDelegate INSTANCE
-
-
Method Detail
-
fromString
public LinkHeader fromString(String value) throws IllegalArgumentException
Description copied from interface:RuntimeDelegate.HeaderDelegateParse the supplied value and create an instance ofT.- Specified by:
fromStringin interfaceRuntimeDelegate.HeaderDelegate<LinkHeader>- Parameters:
value- the string value.- Returns:
- the newly created instance of
T. - Throws:
IllegalArgumentException- if the supplied string cannot be parsed or isnull.
-
from
public static LinkHeader from(String value) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
toString
public String toString(LinkHeader value)
Description copied from interface:RuntimeDelegate.HeaderDelegateConvert the supplied value to a String.- Specified by:
toStringin interfaceRuntimeDelegate.HeaderDelegate<LinkHeader>- Parameters:
value- the value of typeT.- Returns:
- a String representation of the value.
-
getString
public static String getString(LinkHeader value)
-
-