uk.co.bigbeeconsultants.http

response

package response

Visibility
  1. Public
  2. All

Type Members

  1. class BufferedResponseBuilder extends ResponseBuilder

    Provides a response builder implementation that returns responses buffered in byte arrays (and also strings), using ByteBufferResponseBody.

  2. case class ByteBufferResponseBody(byteArray: Array[Byte], contentType: MediaType) extends ResponseBody with Product with Serializable

    Provides a body implementation that copies the whole response from the response input stream into a ByteBuffer.

  3. final class EmptyResponseBody extends ResponseBody

    Provides an empty ResponseBody implementation.

  4. final class InputStreamResponseBody extends ResponseBody

    Provides a body implementation that holds the HTTP server's input stream as obtained from the HttpURLConnection.

  5. class LineFilterInputStream extends InputStream

    Implements an InputStream filter that allows line-by-line processing and/or transcoding of the content.

  6. case class Response(request: Request, status: Status, body: ResponseBody, headers: Headers, cookies: Option[CookieJar]) extends Product with Serializable

    Represents a HTTP response.

  7. trait ResponseBody extends Iterable[String]

    Defines the outline of a response body.

  8. trait ResponseBuilder extends AnyRef

    Defines how responses will be handled.

  9. class SelfClosingInputStreamDelegate extends InputStream

    Constructs a wrapper for an HTTP input stream that ensures that its parent HTTP connection is disconnected when the input stream is closed.

  10. final class Status extends AnyRef

    Expresses an HTTP status line.

  11. case class StringResponseBody(bodyText: String, contentType: MediaType) extends ResponseBody with Product with Serializable

    Provides a body implementation based simply on a string.

  12. final class UnbufferedResponseBuilder extends BufferedResponseBuilder

    Provides a response builder implementation that returns unbuffered responses along with the InputStream that provides data from the origin HTTP server.

Value Members

  1. object ByteBufferResponseBody extends Serializable

  2. object MimeTypeRegistry

  3. object Response extends Serializable

  4. object Status

    Lists the official status codes as defined in RFC2616.

Ungrouped