com.socrata

http

package http

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Authorization extends AnyRef

    An abstraction of the authorization process to be used.

  2. case class BasicAuth(username: String, password: String, appToken: String) extends Authorization with Product with Serializable

    HTTP Basic authentication as a particular user and application.

  3. trait BodyConsumer[+T] extends (Array[Byte], Boolean) ⇒ Either[BodyConsumer[T], T]

    The body-consuming stage of an HTTP processing state machine.

  4. case class CookieAuth(cookie: String) extends Authorization with Product with Serializable

    Cookie authentication as a particular user.

  5. type Headers = Map[String, Seq[String]]

    A collection of HTTP headers.

  6. type HeadersConsumer[+T] = (Headers) ⇒ Either[BodyConsumer[T], T]

    The header-consuming stage of an HTTP processing state machine.

    The header-consuming stage of an HTTP processing state machine. This is called by a com.socrata.http.NiceAsyncHandler with the complete HTTP headers, and may either transition into the consuming-body state by returning Left or terminate processing by either throwing an exception or returning Right.

  7. class JsonEntityWriter extends EntityWriter

  8. class NiceAsyncHandler[T] extends AsyncHandler[T]

    An com.ning.http.client.AsyncHandler which uses functions to represent the state-transitions in processing an HTTP result.

  9. case class Status(code: Int, text: String, protocol: String, majorVersion: Int, minorVersion: Int) extends Product with Serializable

    A simple encapsulation of the status line from an HTTP response.

  10. type StatusConsumer[+T] = (Status) ⇒ Either[(Headers) ⇒ Either[BodyConsumer[T], T], T]

    The entry point into an HTTP processing status machine.

    The entry point into an HTTP processing status machine. This is called by a com.socrata.http.NiceAsyncHandler with the status line and may either transition into the consuming-headers state by returning Left or terminate processing by either throwing an exception or returning Right.

Value Members

  1. object NiceAsyncHandler

  2. object NoAuth extends Authorization with Product with Serializable

    No authentication; simply make an anonymous HTTP request.

  3. package impl

  4. object implicits

Inherited from AnyRef

Inherited from Any

Ungrouped