Class LinkDelegate
java.lang.Object
org.jboss.resteasy.plugins.delegates.LinkDelegate
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<Link>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LinkDelegate
public LinkDelegate()
-
-
Method Details
-
fromString
Description copied from interface:RuntimeDelegate.HeaderDelegateParse the supplied value and create an instance ofT.- Specified by:
fromStringin interfaceRuntimeDelegate.HeaderDelegate<Link>- Parameters:
value- the string value.- Returns:
- the newly created instance of
T. - Throws:
IllegalArgumentException- if the supplied string cannot be parsed or isnull.
-
toString
Description copied from interface:RuntimeDelegate.HeaderDelegateConvert the supplied value to a String.- Specified by:
toStringin interfaceRuntimeDelegate.HeaderDelegate<Link>- Parameters:
value- the value of typeT.- Returns:
- a String representation of the value.
- Throws:
IllegalArgumentException- if the supplied object cannot be serialized or isnull.
-