public abstract class HttpCookiePair extends HttpCookiePair implements ToStringRenderable, scala.Product, java.io.Serializable
Constructor and Description |
---|
HttpCookiePair() |
Modifier and Type | Method and Description |
---|---|
static HttpCookiePair |
apply(java.lang.String name,
java.lang.String value) |
static HttpCookiePair |
apply(scala.Tuple2<java.lang.String,java.lang.String> pair) |
java.lang.String |
name() |
static HttpCookiePair |
raw(java.lang.String name,
java.lang.String value) |
static HttpCookiePair |
raw(scala.Tuple2<java.lang.String,java.lang.String> pair) |
<R extends Rendering> |
render(R r) |
HttpCookie |
toCookie()
Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.
|
static void |
validate(java.lang.String name,
java.lang.String value) |
static void |
validateRaw(java.lang.String name,
java.lang.String value) |
java.lang.String |
value() |
create, createRaw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static HttpCookiePair apply(scala.Tuple2<java.lang.String,java.lang.String> pair)
public static HttpCookiePair apply(java.lang.String name, java.lang.String value)
public static HttpCookiePair raw(scala.Tuple2<java.lang.String,java.lang.String> pair)
public static HttpCookiePair raw(java.lang.String name, java.lang.String value)
public static void validate(java.lang.String name, java.lang.String value)
public static void validateRaw(java.lang.String name, java.lang.String value)
public java.lang.String name()
name
in class HttpCookiePair
public java.lang.String value()
value
in class HttpCookiePair
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public HttpCookie toCookie()
HttpCookiePair
toCookie
in class HttpCookiePair