Class EntityTagDelegate
java.lang.Object
org.jboss.resteasy.plugins.delegates.EntityTagDelegate
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<EntityTag>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EntityTagDelegate
public EntityTagDelegate()
-
-
Method Details
-
fromString
Description copied from interface:RuntimeDelegate.HeaderDelegateParse the supplied value and create an instance ofT.- Specified by:
fromStringin interfaceRuntimeDelegate.HeaderDelegate<EntityTag>- 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<EntityTag>- Parameters:
value- the value of typeT.- Returns:
- a String representation of the value.
-