Package akka.http.scaladsl.model.headers
Class HttpCookie$
java.lang.Object
akka.http.scaladsl.model.headers.HttpCookie$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpCookie$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(String name, String value, scala.Option<DateTime> expires, scala.Option<Object> maxAge, scala.Option<String> domain, scala.Option<String> path, boolean secure, boolean httpOnly, scala.Option<String> extension) You are encouraged to provide only 'name' and 'value' here, and use 'withXxx' methods to populate other fields.akka.parboiled2.CharPredicate
fromPair
(HttpCookiePair pair, scala.Option<DateTime> expires, scala.Option<Object> maxAge, scala.Option<String> domain, scala.Option<String> path, boolean secure, boolean httpOnly, scala.Option<String> extension) Deprecated.Use HttpCookiePair.toCookie and withXxx methods instead.akka.parboiled2.CharPredicate
akka.parboiled2.CharPredicate
akka.parboiled2.CharPredicate
scala.Option<scala.Tuple9<String,
String, scala.Option<DateTime>, scala.Option<Object>, scala.Option<String>, scala.Option<String>, Object, Object, scala.Option<String>>> unapply
(HttpCookie cookie) Deprecated.Pattern matching on HttpCookie is deprecated because of the big number of fields and potential future compatibility hazards.akka.parboiled2.CharPredicate
http://tools.ietf.org/html/rfc6265#section-4.1.1 US-ASCII characters excluding CTLs, whitespace DQUOTE, comma, semicolon, and backslash
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
HttpCookie$
public HttpCookie$()
-
-
Method Details
-
apply
public HttpCookie apply(String name, String value, scala.Option<DateTime> expires, scala.Option<Object> maxAge, scala.Option<String> domain, scala.Option<String> path, boolean secure, boolean httpOnly, scala.Option<String> extension) You are encouraged to provide only 'name' and 'value' here, and use 'withXxx' methods to populate other fields.- Parameters:
name
- (undocumented)value
- (undocumented)expires
- (undocumented)maxAge
- (undocumented)domain
- (undocumented)path
- (undocumented)secure
- (undocumented)httpOnly
- (undocumented)extension
- (undocumented)- Returns:
- (undocumented)
-
unapply
public scala.Option<scala.Tuple9<String,String, unapplyscala.Option<DateTime>, scala.Option<Object>, scala.Option<String>, scala.Option<String>, Object, Object, scala.Option<String>>> (HttpCookie cookie) Deprecated.Pattern matching on HttpCookie is deprecated because of the big number of fields and potential future compatibility hazards. Please use other means to check the fields. Since 10.2.0. -
fromPair
public HttpCookie fromPair(HttpCookiePair pair, scala.Option<DateTime> expires, scala.Option<Object> maxAge, scala.Option<String> domain, scala.Option<String> path, boolean secure, boolean httpOnly, scala.Option<String> extension) Deprecated.Use HttpCookiePair.toCookie and withXxx methods instead. Since 10.2.0. -
nameChars
public akka.parboiled2.CharPredicate nameChars() -
valueChars
public akka.parboiled2.CharPredicate valueChars()http://tools.ietf.org/html/rfc6265#section-4.1.1 US-ASCII characters excluding CTLs, whitespace DQUOTE, comma, semicolon, and backslash- Returns:
- (undocumented)
-
rawValueChars
public akka.parboiled2.CharPredicate rawValueChars() -
domainChars
public akka.parboiled2.CharPredicate domainChars() -
pathOrExtChars
public akka.parboiled2.CharPredicate pathOrExtChars()
-