public class CookieHeaderDelegate extends Object implements RuntimeDelegate.HeaderDelegate<Cookie>
Constructor and Description |
---|
CookieHeaderDelegate() |
public Cookie fromString(String value) throws IllegalArgumentException
RuntimeDelegate.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate<Cookie>
value
- the string value.T
.IllegalArgumentException
- if the supplied string cannot be
parsed or is null
.public String toString(Cookie value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate<Cookie>
value
- the value of type T
.Copyright © 2015. All Rights Reserved.