com.stackmob.newman.dsl

RichIOHttpResponse

implicit class RichIOHttpResponse extends AnyRef

a class extension for

IO[HttpResponse]

which provides the entry point into

ResponseHandler

. in the following example usage, the

handleCode

call lives inside this extension

val GET(new URL("http://localhost")).prepare.handleCode(....)

handleCode }}}

val GET(new URL("http://localhost")).prepare.handleCode(....)

ResponseHandler }}} in the following example usage, the

handleCode

call lives inside this extension

val GET(new URL("http://localhost")).prepare.handleCode(....)

handleCode }}}

val GET(new URL("http://localhost")).prepare.handleCode(....)

IO[HttpResponse] }}} in the following example usage, the

handleCode

call lives inside this extension

val GET(new URL("http://localhost")).prepare.handleCode(....)

handleCode }}}

val GET(new URL("http://localhost")).prepare.handleCode(....)
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichIOHttpResponse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichIOHttpResponse(value: HttpResponse)

    value

    the extended

    IO

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 expectJSONBody[Failure, Success](code: HttpResponseCode)(implicit reader: net.liftweb.json.scalaz.JsonScalaz.JSONR[Success], m: Manifest[Success], charset: Charset = UTF8Charset, errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#expectJSONBody
  11. def expectNoContent[Failure, Success](successValue: Success)(implicit errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#expectNoContent
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def handleCode[Failure, Success](code: HttpResponseCode)(handler: (HttpResponse) ⇒ Validation[Failure, Success])(implicit errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#handleCode
  15. def handleCodes[Failure, Success](codes: Seq[HttpResponseCode])(handler: (HttpResponse) ⇒ Validation[Failure, Success])(implicit errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#handleCodes
  16. def handleCodesSuchThat[Failure, Success](check: (HttpResponseCode) ⇒ Boolean)(handler: (HttpResponse) ⇒ Validation[Failure, Success])(implicit errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#handleCodesSuchThat
  17. def handleJSONBody[Failure, S, Success](code: HttpResponseCode)(handler: (S) ⇒ Validation[Failure, Success])(implicit reader: net.liftweb.json.scalaz.JsonScalaz.JSONR[S], m: Manifest[S], charset: Charset = UTF8Charset, errorConv: (Throwable) ⇒ Failure): dsl.ResponseHandler[Failure, Success]

    see

    see

    ResponseHandler#handleJSONBody
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  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
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  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
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped