httpz.native.Http

Request

case class Request(method: String, exec: (Request, HttpURLConnection) ⇒ Unit, url: (Request) ⇒ URL, params: List[(String, String)], headers: List[(String, String)], options: List[(HttpURLConnection) ⇒ Unit], charset: String = Http.utf8, sendBufferSize: Int = 4096) extends Product with Serializable

Source
Http.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Request
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Request(method: String, exec: (Request, HttpURLConnection) ⇒ Unit, url: (Request) ⇒ URL, params: List[(String, String)], headers: List[(String, String)], options: List[(HttpURLConnection) ⇒ Unit], charset: String = Http.utf8, sendBufferSize: Int = 4096)

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. def apply[T](parser: (InputStream) ⇒ T): T

  7. def asBytes: Array[Byte]

  8. def asCodeHeaders: (Int, Map[String, List[String]])

  9. def asHeadersAndParse[T](parser: (InputStream) ⇒ T): (Int, Map[String, List[String]], T)

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def asParamMap: Map[String, String]

  12. def asParams: List[(String, String)]

  13. def asString: String

  14. def asToken: Token

  15. def auth(user: String, password: String): Request

  16. def charset(cs: String): Request

  17. val charset: String

  18. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  20. val exec: (Request, HttpURLConnection) ⇒ Unit

  21. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  23. def getResponseHeaders(conn: HttpURLConnection): Map[String, List[String]]

  24. def getUrl: URL

  25. def header(key: String, value: String): Request

  26. def headers(h: List[(String, String)]): Request

  27. def headers(h: Map[String, String]): Request

  28. def headers(h: (String, String)*): Request

  29. val headers: List[(String, String)]

  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def method(m: String): Request

  32. val method: String

  33. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  36. def oauth(consumer: Token, token: Option[Token], verifier: Option[String]): Request

  37. def oauth(consumer: Token, token: Token, verifier: String): Request

  38. def oauth(consumer: Token, token: Token): Request

  39. def oauth(consumer: Token): Request

  40. def option(o: (HttpURLConnection) ⇒ Unit): Request

  41. def options(o: List[(HttpURLConnection) ⇒ Unit]): Request

  42. def options(o: (HttpURLConnection) ⇒ Unit*): Request

  43. val options: List[(HttpURLConnection) ⇒ Unit]

  44. def param(key: String, value: String): Request

  45. def params(p: List[(String, String)]): Request

  46. def params(p: Map[String, String]): Request

  47. def params(p: (String, String)*): Request

  48. val params: List[(String, String)]

  49. def process[T](processor: (HttpURLConnection) ⇒ T): T

  50. def responseCode: Int

  51. def sendBufferSize(numBytes: Int): Request

  52. val sendBufferSize: Int

  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  54. val url: (Request) ⇒ URL

  55. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped