Class HttpCookiePair
java.lang.Object
org.apache.pekko.http.javadsl.model.headers.HttpCookiePair
org.apache.pekko.http.scaladsl.model.headers.HttpCookiePair
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,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 HttpCookiePairstatic HttpCookiePairname()static HttpCookiePairstatic HttpCookiePairrender(R r) toCookie()Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.static voidstatic voidvalidateRaw(String name, String value) value()Methods inherited from class org.apache.pekko.http.javadsl.model.headers.HttpCookiePair
create, createRawMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
HttpCookiePair
public HttpCookiePair()
-
-
Method Details
-
apply
-
apply
-
raw
-
raw
-
validate
-
validateRaw
-
name
- Specified by:
namein classHttpCookiePair
-
value
- Specified by:
valuein classHttpCookiePair
-
render
- Specified by:
renderin interfaceRenderable
-
toCookie
Description copied from class:HttpCookiePairConverts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.- Specified by:
toCookiein classHttpCookiePair
-