Class CacheControlHeaderDelegate
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.spi.CacheControlHeaderDelegate
-
- All Implemented Interfaces:
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.CacheControl>
@Deprecated public class CacheControlHeaderDelegate extends java.lang.Object implements javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.CacheControl>Deprecated.Will be removed in next minor release.RuntimeDelegate.HeaderDelegateforCacheControl.
-
-
Constructor Summary
Constructors Constructor Description CacheControlHeaderDelegate()Deprecated.Obtain an instance of a HeaderDelegate for the CacheControl class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.CacheControlfromString(java.lang.String value)Deprecated.Parse the supplied value and create an instance ofT.java.lang.StringtoString(javax.ws.rs.core.CacheControl cacheControl)Deprecated.Convert the supplied value to a String.
-
-
-
Method Detail
-
fromString
public javax.ws.rs.core.CacheControl fromString(java.lang.String value) throws java.lang.IllegalArgumentExceptionDeprecated.Parse the supplied value and create an instance ofT.- Specified by:
fromStringin interfacejavax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.CacheControl>- Parameters:
value- the string value- Returns:
- the newly created instance of
T - Throws:
java.lang.IllegalArgumentException- if the supplied string cannot be parsed- See Also:
RuntimeDelegate.HeaderDelegate.fromString(java.lang.String)
-
toString
public java.lang.String toString(javax.ws.rs.core.CacheControl cacheControl)
Deprecated.Convert the supplied value to a String.- Specified by:
toStringin interfacejavax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.CacheControl>- Parameters:
value- the value of typeT- Returns:
- a String representation of the value
- Throws:
java.lang.IllegalArgumentException- if the supplied object cannot be serialized- See Also:
RuntimeDelegate.HeaderDelegate.toString(java.lang.Object)
-
-