Package akka.http.javadsl.model.headers
Class HttpCookiePair
- java.lang.Object
-
- akka.http.javadsl.model.headers.HttpCookiePair
-
- Direct Known Subclasses:
HttpCookiePair
public abstract class HttpCookiePair extends java.lang.Object
Represents a cookie pair as used in the `Cookie` header as specified in http://tools.ietf.org/search/rfc6265#section-4.2.1
-
-
Constructor Summary
Constructors Constructor Description HttpCookiePair()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
name
public abstract java.lang.String name()
-
value
public abstract java.lang.String value()
-
toCookie
public abstract HttpCookie toCookie()
Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.
-
create
public static HttpCookiePair create(java.lang.String name, java.lang.String value)
-
createRaw
public static HttpCookiePair createRaw(java.lang.String name, java.lang.String value)
-
-