Packages

object Session extends CookieBaker[Session] with FallbackCookieDataCodec with Serializable

Source
Session.scala
Linear Supertypes
Serializable, Serializable, FallbackCookieDataCodec, CookieDataCodec, CookieBaker[Session], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Session
  2. Serializable
  3. Serializable
  4. FallbackCookieDataCodec
  5. CookieDataCodec
  6. CookieBaker
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def decode(encodedData: String): Map[String, String]

    Decodes from an encoded String.

    Decodes from an encoded String.

    Definition Classes
    FallbackCookieDataCodecCookieDataCodec
  7. def decodeCookieToMap(cookie: Option[Cookie]): Map[String, String]

    Decodes the data from a Cookie.

    Decodes the data from a Cookie.

    Definition Classes
    CookieBaker
  8. def decodeFromCookie(cookie: Option[Cookie]): Session

    Decodes the data from a Cookie.

    Decodes the data from a Cookie.

    Definition Classes
    CookieBaker
  9. def discard: DiscardingCookie
    Definition Classes
    CookieBaker
  10. lazy val emptyCookie: Session

    Default cookie, returned in case of error or if missing in the HTTP headers.

    Default cookie, returned in case of error or if missing in the HTTP headers.

    Definition Classes
    SessionCookieBaker
  11. def encode(data: Map[String, String]): String

    Encodes the data as a String.

    Encodes the data as a String.

    Definition Classes
    FallbackCookieDataCodecCookieDataCodec
  12. def encodeAsCookie(data: Session): Cookie

    Encodes the data as a Cookie.

    Encodes the data as a Cookie.

    Definition Classes
    CookieBaker
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromJavaSession(javaSession: mvc.Http.Session): Session
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def COOKIE_NAME: String

    The cookie name.

    The cookie name.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  2. def config: SessionConfiguration
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  3. def deserialize(data: Map[String, String]): Session

    Builds the cookie object from the given data map.

    Builds the cookie object from the given data map.

    data

    the data map to build the cookie object

    returns

    a new cookie object

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  4. def domain: Option[String]

    The cookie domain.

    The cookie domain. Defaults to None.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  5. def httpOnly: Boolean

    true if the Cookie should have the httpOnly flag, disabling access from Javascript.

    true if the Cookie should have the httpOnly flag, disabling access from Javascript. Defaults to true.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  6. val isSigned: Boolean
    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  7. lazy val jwtCodec: DefaultJWTCookieDataCodec
    Definition Classes
    SessionFallbackCookieDataCodec
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  8. def maxAge: Option[Int]

    The cookie expiration date in seconds, None for a transient cookie

    The cookie expiration date in seconds, None for a transient cookie

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  9. def path: String

    The cookie path.

    The cookie path.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  10. def sameSite: Option[SameSite]

    The value of the SameSite attribute of the cookie.

    The value of the SameSite attribute of the cookie. Defaults to no SameSite.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  11. def secure: Boolean

    true if the Cookie should have the secure flag, restricting usage to https.

    true if the Cookie should have the secure flag, restricting usage to https. Defaults to false.

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  12. def serialize(session: Session): Map[String, String]

    Converts the given cookie object into a data map.

    Converts the given cookie object into a data map.

    returns

    a new Map storing the key-value pairs for the given cookie

    Definition Classes
    SessionCookieBaker
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

  13. lazy val signedCodec: DefaultUrlEncodedCookieDataCodec
    Definition Classes
    SessionFallbackCookieDataCodec
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Inject play.api.mvc.SessionCookieBaker instead

Inherited from Serializable

Inherited from Serializable

Inherited from FallbackCookieDataCodec

Inherited from CookieDataCodec

Inherited from CookieBaker[Session]

Inherited from AnyRef

Inherited from Any

Ungrouped