Packages

package http

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class Base64 extends AnyRef

    A Base64 encoder/decoder.

    A Base64 encoder/decoder.

    This class is used to encode and decode data in Base64 format as described in RFC 1521.

    Project home page: www.source-code.biz/base64coder/java
    Author: Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland
    Multi-licensed: EPL / LGPL / GPL / AL / BSD / MIT.

  2. class BaseHttp extends AnyRef

    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
  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

    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

    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
  7. case class MultiPart(name: String, filename: String, mime: String, data: InputStream, numBytes: Long, writeCallBack: (Long) => Unit) extends Product with Serializable
  8. case class MultiPartConnectFunc(parts: Seq[MultiPart]) extends (HttpRequest, HttpURLConnection) => Unit with Product with Serializable
  9. case class StringBodyConnectFunc(data: String) extends (HttpRequest, HttpURLConnection) => Unit with Product with Serializable
  10. case class Token(key: String, secret: String) extends Product with Serializable
  11. case class WwwAuthenticate(authType: String, params: Map[String, String]) extends Product with Serializable

Value Members

  1. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  2. case object DefaultConnectFunc extends (HttpRequest, HttpURLConnection) => Unit with Product with Serializable
  3. object DigestAuth
  4. case object FormBodyConnectFunc extends (HttpRequest, HttpURLConnection) => Unit with Product with Serializable
  5. object Http extends BaseHttp

    Default entry point to this library

  6. object HttpConstants

    Mostly helper methods

  7. object HttpOptions

    Helper functions for modifying the underlying HttpURLConnection

  8. object MultiPart extends Serializable
  9. object OAuth

    utility methods used by scalaj.http.HttpRequest

  10. case object PlainUrlFunc extends (HttpRequest) => String with Product with Serializable
  11. case object QueryStringUrlFunc extends (HttpRequest) => String with Product with Serializable

Ungrouped