Class Cookie
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.Cookie
org.apache.pekko.http.scaladsl.model.headers.Cookie
- All Implemented Interfaces:
Serializable
,Renderable
,ToStringRenderable
,ModeledHeader
,RequestHeader
,SensitiveHttpHeader
,scala.Equals
,scala.Product
public final class Cookie
extends Cookie
implements RequestHeader, SensitiveHttpHeader, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Cookie
static Cookie
apply
(HttpCookiePair first, scala.collection.immutable.Seq<HttpCookiePair> more) static Cookie
apply
(scala.Tuple2<String, String> first, scala.collection.immutable.Seq<scala.Tuple2<String, String>> more) protected Cookie$
static Renderer<scala.collection.immutable.Iterable<HttpCookiePair>>
scala.collection.immutable.Seq<HttpCookiePair>
cookies()
Java APIstatic String
static String
name()
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,
T> parseFromValueString
(String value) render
(R r) renderValue
(R r) Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
Methods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
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 org.apache.pekko.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInResponses, value
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
Methods inherited from interface org.apache.pekko.http.impl.util.Renderable
render
Methods inherited from interface org.apache.pekko.http.scaladsl.model.headers.RequestHeader
renderInRequests
Methods inherited from interface org.apache.pekko.http.scaladsl.model.SensitiveHttpHeader
toString
Methods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Cookie
-
-
Method Details
-
apply
public static Cookie apply(HttpCookiePair first, scala.collection.immutable.Seq<HttpCookiePair> more) -
apply
-
apply
-
cookiePairsRenderer
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
cookies
-
renderValue
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
- Specified by:
companion
in interfaceModeledHeader
-
getCookies
Java API- Specified by:
getCookies
in classCookie
-