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.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate
newCookie
- the string valueT
IllegalArgumentException
- if the supplied string cannot be
parsed or is nullprotected void quote(StringBuilder b, String value)
public String toString(Object value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate
value
- the value of type T
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.