public abstract class HttpCookiePair
extends java.lang.Object
Constructor and Description |
---|
HttpCookiePair() |
Modifier and Type | Method and Description |
---|---|
static HttpCookiePair |
create(java.lang.String name,
java.lang.String value) |
static HttpCookiePair |
createRaw(java.lang.String name,
java.lang.String value) |
abstract java.lang.String |
name() |
abstract HttpCookie |
toCookie()
Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.
|
abstract java.lang.String |
value() |
public abstract java.lang.String name()
public abstract java.lang.String value()
public abstract HttpCookie toCookie()
public static HttpCookiePair create(java.lang.String name, java.lang.String value)
public static HttpCookiePair createRaw(java.lang.String name, java.lang.String value)