Class

org.latestbit.picooc

PiRequest

Related Doc: package picooc

Permalink

case class PiRequest(httpRequest: Request, maxResponseSizeMb: Int = 100) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PiRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PiRequest(httpRequest: Request, maxResponseSizeMb: Int = 100)

    Permalink

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 val FORM_CONTENT_TYPE: String("application/x-www-form-urlencoded")

    Permalink
    Attributes
    protected
  5. final val JSON_CONTENT_TYPE: String("application/json")

    Permalink
    Attributes
    protected
  6. final val TEXT_CONTENT_TYPE: String("text/plain")

    Permalink
    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AnyRef
  10. def file(filePath: Path, contentType: String): Request

    Permalink
  11. def files(files: (Path, String)*): Unit

    Permalink
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def header(name: String, value: String): PiRequest

    Permalink
  15. def headers(values: Map[String, String]): PiRequest

    Permalink
  16. val httpRequest: Request

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final val log: Logger

    Permalink
    Attributes
    protected
  19. def mapResponseBody[S, T](response: PiResponse[S], defaultBody: T)(mapFunc: (S, ContentResponse) ⇒ T)(implicit arg0: Manifest[S], arg1: Manifest[T]): PiResponse[T]

    Permalink
    Attributes
    protected
  20. def mapResponseJSonBody[T](response: PiResponse[String])(implicit arg0: Manifest[T]): PiResponse[T]

    Permalink
    Attributes
    protected
  21. val maxResponseSizeMb: Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def param(name: String, value: String): PiRequest

    Permalink
  26. def params(values: Map[String, String]): PiRequest

    Permalink
  27. def send: ContentResponse

    Permalink
  28. def sendAndReceive[T](implicit arg0: Manifest[T]): PiResponse[T]

    Permalink
  29. def sendAndReceive: PiResponse[String]

    Permalink
  30. def sendAsyncAndReceive[T](implicit arg0: Manifest[T]): Future[PiResponse[T]]

    Permalink
  31. def sendAsyncAndReceive: Future[PiResponse[String]]

    Permalink
  32. def sendAsyncHttpRequest(responseListener: Listener): Unit

    Permalink
  33. def sendAsyncHttpRequest[T](bodyBuilder: (Result, BufferingResponseListener) ⇒ PiResponse[T]): Future[PiResponse[T]]

    Permalink
    Attributes
    protected
  34. val syncResponseListener: FutureResponseListener

    Permalink
    Attributes
    protected
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def timeout(duration: Duration): PiRequest

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withFormUrlEncoded(data: Map[String, String]): PiRequest

    Permalink
  41. def withJsonContent[T](content: T)(implicit arg0: Manifest[T]): PiRequest

    Permalink
  42. def withStringContent(content: String, contentType: String = TEXT_CONTENT_TYPE, encoding: String = "UTF-8"): PiRequest

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped