com.mohiva.play.silhouette.api.util

RequestExtractor

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

    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
  12. def fromJson(name: String, body: JsValue): Option[String]

    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
  13. def fromQueryString(name: String)(implicit request: Request[B]): Option[String]

    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
  14. def fromXml(name: String, body: NodeSeq): Option[String]

    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
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. val logger: play.api.Logger

    A named logger instance.

    A named logger instance.

    Definition Classes
    Logger
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped