scalaj.http.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], proxy: Proxy = java.net.Proxy.NO_PROXY, charset: String = Http.utf8, sendBufferSize: Int = 4096) extends Product with Serializable

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], proxy: Proxy = java.net.Proxy.NO_PROXY, 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 asXml: Elem

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

  17. def charset(cs: String): Request

  18. val charset: String

  19. def clone(): AnyRef

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

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

  22. def finalize(): Unit

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

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

  25. def getUrl: URL

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

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

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

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

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

  31. final def isInstanceOf[T0]: Boolean

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

  33. val method: String

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

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

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

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

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

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

  40. def oauth(consumer: Token): Request

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

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

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

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

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

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

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

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

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

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

  51. def proxy(proxy: Proxy): Request

  52. def proxy(host: String, port: Int, proxyType: Type): Request

  53. def proxy(host: String, port: Int): Request

  54. val proxy: Proxy

  55. def responseCode: Int

  56. def sendBufferSize(numBytes: Int): Request

  57. val sendBufferSize: Int

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

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

  60. final def wait(): Unit

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

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