Object

com.markfeeney.circlet.middleware

Cookies

Related Doc: package middleware

Permalink

object Cookies

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cookies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Decoder = (String) ⇒ Option[String]

    Permalink

    For decoding cookie strings from the HTTP header (after UTF-8 decoding).

  2. type Encoder = (String) ⇒ Option[String]

    Permalink

    For encoding values before they hit the HTTP header.

  3. type RequestCookies = Map[String, String]

    Permalink

    Request cookies come from Cookie request header, and are just string values.

  4. type ResponseCookies = Map[String, Cookie]

    Permalink

    Response cookies end up as Set-Cookie response headers, and can have various attributes aside from just a string value.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(resp: Response, name: String, value: Cookie): Response

    Permalink

    Helper to add a cookie to a response.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def get(resp: Response): Option[ResponseCookies]

    Permalink
  11. def get(req: Request, name: String): Option[String]

    Permalink
  12. def get(req: Request): Option[RequestCookies]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mw(decoder: Decoder = Util.formDecodeString, encoder: Encoder = Util.formEncodeString): Middleware

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def set(resp: Response, cookies: ResponseCookies): Response

    Permalink
  21. def set(req: Request, cookies: RequestCookies): Request

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped