Class HttpCookie$

java.lang.Object
akka.http.scaladsl.model.headers.HttpCookie$
All Implemented Interfaces:
Serializable

public class HttpCookie$ extends Object implements Serializable
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HttpCookie$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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>>>
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final HttpCookie$ 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,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. 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()