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