org.jboss.resteasy.plugins.delegates
Class LinkHeaderDelegate

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

public class LinkHeaderDelegate
extends Object
implements RuntimeDelegate.HeaderDelegate<LinkHeader>

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
LinkHeaderDelegate()
           
 
Method Summary
static LinkHeader from(String value)
           
 LinkHeader fromString(String value)
          Parse the supplied value and create an instance of T.
static String getString(LinkHeader value)
           
 String toString(LinkHeader 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

LinkHeaderDelegate

public LinkHeaderDelegate()
Method Detail

fromString

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

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

from

public static LinkHeader from(String value)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

toString

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

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

getString

public static String getString(LinkHeader value)


Copyright © 2011. All Rights Reserved.