Trait/Object

com.mohiva.play.silhouette.api.util

RequestExtractor

Related Docs: object RequestExtractor | package util

Permalink

trait RequestExtractor[-B] extends Logger

Adds the ability to extract values from a request.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestExtractor
  2. Logger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def extractString(name: String)(implicit request: Request[B]): Option[String]

    Permalink

    Extracts a string from a request.

    Extracts a string from a request.

    name

    The name of the value to extract.

    request

    The request from which the value should be extract.

    returns

    The extracted value as string.

Concrete 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. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromFormUrlEncoded(name: String, body: Map[String, Seq[String]]): Option[String]

    Permalink

    Extracts a value from form url encoded body.

    Extracts a value from form url encoded body.

    name

    The name of the value to extract.

    body

    The body from which the value should be extract.

    returns

    The extracted value as string.

    Attributes
    protected
  10. def fromJson(name: String, body: JsValue): Option[String]

    Permalink

    Extracts a value from Json body.

    Extracts a value from Json body.

    name

    The name of the value to extract.

    body

    The body from which the value should be extract.

    returns

    The extracted value.

    Attributes
    protected
  11. def fromQueryString(name: String)(implicit request: Request[B]): Option[String]

    Permalink

    Extracts a value from query string.

    Extracts a value from query string.

    name

    The name of the value to extract.

    request

    The request from which the value should be extract.

    returns

    The extracted value as string.

    Attributes
    protected
  12. def fromXml(name: String, body: NodeSeq): Option[String]

    Permalink

    Extracts a value from Xml body.

    Extracts a value from Xml body.

    name

    The name of the value to extract.

    body

    The body from which the value should be extract.

    returns

    The extracted value.

    Attributes
    protected
  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. val logger: play.api.Logger

    Permalink

    A named logger instance.

    A named logger instance.

    Definition Classes
    Logger
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped