org.jboss.resteasy.plugins.delegates
Class CacheControlDelegate

java.lang.Object
  extended by org.jboss.resteasy.plugins.delegates.CacheControlDelegate
All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<CacheControl>

public class CacheControlDelegate
extends java.lang.Object
implements RuntimeDelegate.HeaderDelegate<CacheControl>

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
CacheControlDelegate()
           
 
Method Summary
 CacheControl fromString(java.lang.String value)
          Parse the supplied value and create an instance of T.
 java.lang.String toString(CacheControl value)
          Convert the supplied value to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlDelegate

public CacheControlDelegate()
Method Detail

fromString

public CacheControl fromString(java.lang.String value)
                        throws java.lang.IllegalArgumentException
Description copied from interface: RuntimeDelegate.HeaderDelegate
Parse the supplied value and create an instance of T.

Specified by:
fromString in interface RuntimeDelegate.HeaderDelegate<CacheControl>
Parameters:
value - the string value
Returns:
the newly created instance of T
Throws:
java.lang.IllegalArgumentException - if the supplied string cannot be parsed or is null

toString

public java.lang.String toString(CacheControl value)
Description copied from interface: RuntimeDelegate.HeaderDelegate
Convert the supplied value to a String.

Specified by:
toString in interface RuntimeDelegate.HeaderDelegate<CacheControl>
Parameters:
value - the value of type T
Returns:
a String representation of the value


Copyright © 2009. All Rights Reserved.