Package

scalaj

http

Permalink

package http

Visibility
  1. Public
  2. All

Type Members

  1. class Base64 extends AnyRef

    Permalink
  2. class BaseHttp extends AnyRef

    Permalink

    Extends and override this class to setup your own defaults

  3. case class ByteBodyConnectFunc(data: Array[Byte]) extends (HttpRequest, HttpURLConnection) ⇒ Unit with Product with Serializable

    Permalink
  4. case class HttpRequest(url: String, method: String, connectFunc: HttpExec, params: Seq[(String, String)], headers: Seq[(String, String)], options: Seq[HttpOption], proxyConfig: Option[Proxy], charset: String, sendBufferSize: Int, urlBuilder: (HttpRequest) ⇒ String, compress: Boolean, digestCreds: Option[(String, String)]) extends Product with Serializable

    Permalink

    Immutable builder for creating an http request

    Immutable builder for creating an http request

    This is the workhorse of the scalaj-http library.

    You shouldn't need to construct this manually. Use scalaj.http.Http.apply to get an instance

    The params, headers and options methods are all additive. They will always add things to the request. If you want to replace those things completely, you can do something like

    .copy(params=newparams)
  5. case class HttpResponse[T](body: T, code: Int, headers: Map[String, IndexedSeq[String]]) extends Product with Serializable

    Permalink

    Result of executing a scalaj.http.HttpRequest

    Result of executing a scalaj.http.HttpRequest

    T

    the body response since it can be parsed directly to things other than String

    body

    the Http response body

    code

    the http response code from the status line

    headers

    the response headers

  6. case class HttpStatusException(code: Int, statusLine: String, body: String) extends RuntimeException with Product with Serializable

    Permalink
  7. case class MultiPart(name: String, filename: String, mime: String, data: InputStream, numBytes: Long, writeCallBack: (Long) ⇒ Unit) extends Product with Serializable

    Permalink
  8. case class MultiPartConnectFunc(parts: Seq[MultiPart]) extends (HttpRequest, HttpURLConnection) ⇒ Unit with Product with Serializable

    Permalink
  9. case class StringBodyConnectFunc(data: String) extends (HttpRequest, HttpURLConnection) ⇒ Unit with Product with Serializable

    Permalink
  10. case class Token(key: String, secret: String) extends Product with Serializable

    Permalink
  11. case class WwwAuthenticate(authType: String, params: Map[String, String]) extends Product with Serializable

    Permalink

Value Members

  1. object BuildInfo extends Product with Serializable

    Permalink

    This object was generated by sbt-buildinfo.

  2. object DefaultConnectFunc extends (HttpRequest, HttpURLConnection) ⇒ Unit with Product with Serializable

    Permalink
  3. object DigestAuth

    Permalink
  4. object FormBodyConnectFunc extends (HttpRequest, HttpURLConnection) ⇒ Unit with Product with Serializable

    Permalink
  5. object Http extends BaseHttp

    Permalink

    Default entry point to this library

  6. object HttpConstants

    Permalink

    Mostly helper methods

  7. object HttpOptions

    Permalink

    Helper functions for modifying the underlying HttpURLConnection

  8. object MultiPart extends Serializable

    Permalink
  9. object OAuth

    Permalink

    utility methods used by scalaj.http.HttpRequest

  10. object PlainUrlFunc extends (HttpRequest) ⇒ String with Product with Serializable

    Permalink
  11. object QueryStringUrlFunc extends (HttpRequest) ⇒ String with Product with Serializable

    Permalink

Ungrouped