public class NewCookieHeaderDelegate extends Object implements RuntimeDelegate.HeaderDelegate
| Constructor and Description |
|---|
NewCookieHeaderDelegate() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromString(String newCookie)
Parse the supplied value and create an instance of
T. |
protected void |
quote(StringBuilder b,
String value) |
String |
toString(Object value)
Convert the supplied value to a String.
|
public Object fromString(String newCookie) throws IllegalArgumentException
RuntimeDelegate.HeaderDelegateT.fromString in interface RuntimeDelegate.HeaderDelegatenewCookie - the string value.T.IllegalArgumentException - if the supplied string cannot be
parsed or is null.protected void quote(StringBuilder b, String value)
public String toString(Object value)
RuntimeDelegate.HeaderDelegatetoString in interface RuntimeDelegate.HeaderDelegatevalue - the value of type T.Copyright © 2013. All Rights Reserved.