Package akka.http.scaladsl.model.headers
Class HttpCookiePair
java.lang.Object
akka.http.javadsl.model.headers.HttpCookiePair
akka.http.scaladsl.model.headers.HttpCookiePair
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,Serializable
,scala.Equals
,scala.Product
public abstract class HttpCookiePair
extends HttpCookiePair
implements ToStringRenderable, scala.Product, Serializable
for a full definition of the http cookie header fields, see
http://tools.ietf.org/html/rfc6265
This class is sealed abstract to prevent generation of default apply method in companion
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpCookiePair
static HttpCookiePair
name()
static HttpCookiePair
static HttpCookiePair
render
(R r) toCookie()
Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.static void
static void
validateRaw
(String name, String value) value()
Methods inherited from class akka.http.javadsl.model.headers.HttpCookiePair
create, createRaw
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
HttpCookiePair
public HttpCookiePair()
-
-
Method Details
-
apply
-
apply
-
raw
-
raw
-
validate
-
validateRaw
-
name
- Specified by:
name
in classHttpCookiePair
-
value
- Specified by:
value
in classHttpCookiePair
-
render
- Specified by:
render
in interfaceRenderable
-
toCookie
Description copied from class:HttpCookiePair
Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.- Specified by:
toCookie
in classHttpCookiePair
-