com.socrata.soda2

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. class IllegalResponseCharsetNameException extends SodaProtocolException

  2. class InvalidHttpStatusException extends SodaProtocolException

    Thrown if an HTTP response code that is not used by SODA is received.

  3. sealed abstract class NewRequest extends AnyRef

    High-level instructions for handling making multiple requests to produce the result from a long-running server-side process.

  4. case class Redirect(newUrl: String, retryAfter: Int, details: JObject) extends NewRequest with Product with Serializable

    The client should issue a GET to a completely new URL

  5. class ResponseNotJSONException extends SodaProtocolException

  6. case class Retry(retryAfter: Int, details: JObject) extends NewRequest with Product with Serializable

    The client should re-make the same request

  7. case class RetryWithTicket(ticket: String, retryAfter: Int, details: JObject) extends NewRequest with Product with Serializable

    The client should issue a GET to the same URL it made this request, but with the given ticket in the query parameters.

  8. type Retryable[+T] = Either[NewRequest, T]

    A type alias for the result of com.socrata.soda2.http.StandardConsumer, representing either the final value produced or the need to make another HTTP request.

  9. class SingleJValueBodyConsumer extends BodyConsumer[JValue]

    A bodyConsumer which expects to read a single com.rojoma.json.ast.JValue out of an HTTP response.

  10. class StandardConsumer[T] extends (Status) ⇒ Either[(Headers) ⇒ Either[BodyConsumer[Retryable[T]], Retryable[T]], Retryable[T]]

    A function that produces a state machine that understands the HTTP envelope of a SODA2 request.

  11. class UnsupportedResponseCharsetException extends SodaProtocolException

Value Members

  1. object ResponseNotJSONException extends Serializable

  2. object SingleJValueBodyConsumer

  3. package impl

Inherited from AnyRef

Inherited from Any

Ungrouped