Object/Trait

org.iainhull.resttest

Extractors

Related Docs: trait Extractors | package resttest

Permalink

object Extractors

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

Type Members

  1. case class Extractor[+A](name: String, op: (Response) ⇒ A) extends ExtractorLike[A] with Product with Serializable

    Permalink

    Primary implementation of ExtractorLike.

    Primary implementation of ExtractorLike. The name and extraction

    name

    The name of the extractor

    op

    The operation to extract the value of type A from the Response

  2. class ExtractorFailedException extends Exception

    Permalink
  3. trait ExtractorLike[+A] extends AnyRef

    Permalink

    Basic trait for all extractors chanes are you want Extractor.

  4. case class Header(header: String) extends ExtractorLike[String] with Product with Serializable

    Permalink

    Defines Extractors for the specified header, specific extractors provided by the asText, asList, asOption members.

    Defines Extractors for the specified header, specific extractors provided by the asText, asList, asOption members. Instances behave like their asText member.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. object &

    Permalink

    Enable Extractors to be chained together in case clauses.

    Enable Extractors to be chained together in case clauses.

    For example:

    GET / id expecting {
      case StatusCode(Status.OK) & Header.ContentType(ct) & BodyAsPerson(person) =>
        ct should be("application/json")
        person should be(Jason)
    }
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val Body: Extractor[Option[String]]

    Permalink
  6. val BodyText: Extractor[String]

    Permalink
  7. object Header extends Serializable

    Permalink

    Provides constants for standard headers.

  8. val StatusCode: Extractor[Int]

    Permalink
  9. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  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 AnyRef

Inherited from Any

Ungrouped