colossus.protocols

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. trait BaseHttp extends CodecDSL

  2. class BaseHttpClientCodec[T <: BaseHttpResponse] extends ClientCodec[HttpRequest, T]

  3. sealed trait BaseHttpResponse extends AnyRef

  4. class BaseHttpServerCodec[T <: BaseHttpResponse] extends ServerCodec[HttpRequest, T]

  5. trait ByteStringLike[T] extends AnyRef

    Converter typeclass for bytestrings.

    Converter typeclass for bytestrings. Default implementations are in package.scala

  6. class ChunkDecodingPipe extends InfinitePipe[DataBuffer]

    A pipe designed to accept a chunked http body.

    A pipe designed to accept a chunked http body.

    The pipe will scan the chunk headers and auto-close itself when it hits the end of the stream (reading a 0 length chunk). It also strips all chunk headers from the data, so the output stream is the raw data

  7. class ChunkEncodingPipe extends InfinitePipe[DataBuffer]

    A Pipe that will take raw DataBuffers and add a http chunk header.

    A Pipe that will take raw DataBuffers and add a http chunk header. This is needed if you are streaming out a response that is not also being streamed in (like in a proxy)

    Right now this ends up copying the DataBuffer.

  8. class ChunkPassThroughPipe extends InfinitePipe[DataBuffer]

    A Pass-through pipe that parses chunk headers in the data stream and closes the pipe when the stream ends.

    A Pass-through pipe that parses chunk headers in the data stream and closes the pipe when the stream ends. This pipe does not remove any header/footer information, making it ideal for use in a proxy

  9. sealed trait ContentEncoding extends AnyRef

  10. case class Cookie(name: String, value: String, expiration: Option[com.github.nscala_time.time.Imports.DateTime]) extends Product with Serializable

  11. trait Http extends BaseHttp

  12. class HttpClient extends ServiceClient[HttpRequest, HttpResponse]

  13. class HttpClientCodec extends BaseHttpClientCodec[HttpResponse]

  14. case class HttpCode(code: Int, description: String) extends Product with Serializable

  15. case class HttpHead(method: HttpMethod, url: String, version: HttpVersion, headers: Seq[(String, String)]) extends HttpHeaderUtils with Product with Serializable

  16. trait HttpHeaderUtils extends AnyRef

  17. sealed abstract class HttpMethod extends AnyRef

  18. class HttpParsingException extends Exception

  19. trait HttpProvider extends CodecProvider[Http]

  20. case class HttpRequest(head: HttpHead, entity: Option[ByteString]) extends Product with Serializable

  21. case class HttpResponse(head: HttpResponseHead, body: Option[ByteString]) extends BaseHttpResponse with Product with Serializable

  22. case class HttpResponseHead(version: HttpVersion, code: HttpCode, headers: Vector[(String, String)] = Vector()) extends HttpHeaderUtils with Product with Serializable

  23. class HttpServerCodec extends BaseHttpServerCodec[HttpResponse]

  24. class HttpServiceHandler[D <: BaseHttp] extends BasicServiceHandler[D]

  25. sealed abstract class HttpVersion extends AnyRef

  26. class InvalidRequestException extends Exception

  27. trait NoBodyCode extends AnyRef

    This trait mixed in to any codes that do not allow a body in the response

  28. sealed trait ResponseResult extends AnyRef

  29. trait StreamingHttp extends BaseHttp

  30. class StreamingHttpClientCodec extends BaseHttpClientCodec[StreamingHttpResponse]

  31. case class StreamingHttpResponse(head: HttpResponseHead, body: Option[Source[DataBuffer]]) extends BaseHttpResponse with Product with Serializable

    Be aware, at the moment when the response is encoded, there is no processing on the response body, and no headers are added in.

    Be aware, at the moment when the response is encoded, there is no processing on the response body, and no headers are added in. This means if the transfer-encoding is "chunked", the header must already exist and the stream must already be prepending chunk headers to the data.

  32. class StreamingHttpServerCodec extends BaseHttpServerCodec[StreamingHttpResponse]

  33. sealed trait TransferEncoding extends AnyRef

Value Members

  1. implicit object ByteStringLikeByteString extends ByteStringLike[ByteString]

  2. implicit object ByteStringLikeString extends ByteStringLike[String]

  3. object ContentEncoding

  4. object Cookie extends Serializable

  5. implicit object DefaultHttpProvider extends HttpProvider

  6. object HttpChunk

  7. implicit object HttpClientProvider extends ClientCodecProvider[Http]

  8. object HttpCode extends Serializable

  9. object HttpCodes

  10. object HttpHead extends Serializable

  11. object HttpHeaders

  12. object HttpMethod

  13. object HttpParse

  14. object HttpRequest extends Serializable

  15. object HttpRequestParser

  16. object HttpResponse extends Serializable

  17. object HttpResponseParser

  18. object HttpVersion

  19. object ResponseResult

  20. implicit object StreamingHttpClientProvider extends ClientCodecProvider[StreamingHttp]

  21. implicit object StreamingHttpProvider extends CodecProvider[StreamingHttp]

  22. object StreamingHttpResponse extends Serializable

  23. object TransferEncoding

  24. object UrlParsing

    URL parsing can be done using one of two paths.

    URL parsing can be done using one of two paths. The first uses an object based decomposition with a minimal number of string operations. This parses using the 'on' keyword and the left associative '/' operator.

    The second method uses string operations in a right associative manner. Because all values are strings, it is less type safe than the object method. This is used with the 'in' keyword and the right associative '/:' operator. In this method, the final variable in the pattern will consume all remaining levels.

    To use either language, import the UrlParsing._ object

Inherited from AnyRef

Inherited from Any

Ungrouped