Package

colossus.protocols

http

Permalink

package http

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. http
  2. HttpBodyDecoders
  3. HttpBodyEncoders
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait BaseHttp extends Protocol

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

    Permalink
  3. sealed trait BaseHttpResponse extends AnyRef

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

    Permalink
  5. abstract class BaseHttpServiceHandler[D <: BaseHttp] extends Service[D]

    Permalink
  6. case class BasicResponseFL(version: HttpVersion, code: HttpCode) extends ResponseFL with Product with Serializable

    Permalink
  7. case class BuildFL(method: HttpMethod, path: String, version: HttpVersion) extends FirstLine with Product with Serializable

    Permalink
  8. case class BuiltHead(firstLine: BuildFL, headers: HttpHeaders) extends HttpRequestHead with Product with Serializable

    Permalink
  9. trait ByteStringLike[T] extends AnyRef

    Permalink

    Converter typeclass for bytestrings.

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

  10. class ChunkDecodingPipe extends InfinitePipe[DataBuffer]

    Permalink

    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

  11. class ChunkEncodingPipe extends InfinitePipe[DataBuffer]

    Permalink

    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.

  12. class ChunkPassThroughPipe extends InfinitePipe[DataBuffer]

    Permalink

    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

  13. sealed trait Connection extends AnyRef

    Permalink
  14. sealed trait ContentEncoding extends AnyRef

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

    Permalink
  16. class DateHeader extends HttpHeader

    Permalink
  17. class EncodedHttpHeader extends HttpHeader with LazyParsing

    Permalink
  18. trait FirstLine extends Encoder

    Permalink
  19. trait Http extends BaseHttp

    Permalink
  20. class HttpBody extends AnyRef

    Permalink
  21. trait HttpBodyDecoder[T] extends AnyRef

    Permalink

    A Typeclass to decode a raw http body into some specific type

  22. trait HttpBodyDecoders extends AnyRef

    Permalink
  23. trait HttpBodyEncoder[T] extends AnyRef

    Permalink
  24. trait HttpBodyEncoders extends AnyRef

    Permalink
  25. trait HttpClient[M[_]] extends LiftedClient[Http, M] with HttpRequestBuilder[M[HttpResponse]]

    Permalink
  26. class HttpClientCodec extends BaseHttpClientCodec[HttpResponse]

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

    Permalink
  28. trait HttpHeader extends Encoder

    Permalink
  29. class HttpHeaders extends AnyRef

    Permalink

    A Wrapper class for a set of Http headers, for a request or response.

  30. sealed abstract class HttpMethod extends AnyRef

    Permalink
  31. case class HttpRequest(head: HttpRequestHead, body: HttpBody) extends Encoder with HttpRequestBuilding[HttpRequest] with Product with Serializable

    Permalink
  32. trait HttpRequestBuilder[T] extends AnyRef

    Permalink
  33. trait HttpRequestBuilding[T] extends AnyRef

    Permalink
  34. trait HttpRequestHead extends Encoder

    Permalink
  35. case class HttpResponse(head: HttpResponseHead, body: HttpBody) extends BaseHttpResponse with Encoder with Product with Serializable

    Permalink
  36. case class HttpResponseHead(fl: ResponseFL, headers: HttpHeaders) extends Product with Serializable

    Permalink
  37. class HttpServerCodec extends BaseHttpServerCodec[HttpResponse]

    Permalink
  38. abstract class HttpService extends BaseHttpServiceHandler[Http]

    Permalink
  39. sealed abstract class HttpVersion extends AnyRef

    Permalink
  40. class InvalidRequestException extends Exception

    Permalink
  41. trait LazyParsing extends AnyRef

    Permalink
  42. trait NoBodyCode extends AnyRef

    Permalink

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

  43. case class ParsedFL(data: Array[Byte]) extends FirstLine with LazyParsing with Product with Serializable

    Permalink
  44. case class ParsedHead(firstLine: ParsedFL, headers: HttpHeaders) extends HttpRequestHead with Product with Serializable

    Permalink
  45. class ParsedHttpHeaders extends HttpHeaders

    Permalink

    This is the set of headers that are parsed into more structured forms and used internally by colossus

  46. case class ParsedResponseFL(data: Array[Byte]) extends ResponseFL with LazyParsing with Product with Serializable

    Permalink
  47. final case class QueryParameters(parameters: Seq[(String, String)]) extends AnyVal with Product with Serializable

    Permalink
  48. trait ResponseFL extends AnyRef

    Permalink
  49. sealed trait ResponseResult extends AnyRef

    Permalink
  50. class ReturnCodeTagDecorator[C <: BaseHttp] extends TagDecorator[http.ReturnCodeTagDecorator.C.Input, http.ReturnCodeTagDecorator.C.Output]

    Permalink
  51. trait StreamingHttp extends BaseHttp

    Permalink
  52. class StreamingHttpClientCodec extends BaseHttpClientCodec[StreamingHttpResponse]

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

    Permalink

    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.

  54. class StreamingHttpServerCodec extends BaseHttpServerCodec[StreamingHttpResponse]

    Permalink
  55. abstract class StreamingHttpService extends BaseHttpServiceHandler[StreamingHttp]

    Permalink
  56. sealed trait TransferEncoding extends AnyRef

    Permalink

Value Members

  1. implicit object ArrayDecoder extends HttpBodyDecoder[Array[Byte]]

    Permalink
    Definition Classes
    HttpBodyDecoders
  2. implicit object ByteStringDecoder extends HttpBodyDecoder[ByteString]

    Permalink
    Definition Classes
    HttpBodyDecoders
  3. implicit object ByteStringEncoder extends HttpBodyEncoder[ByteString]

    Permalink
    Definition Classes
    HttpBodyEncoders
  4. object Connection

    Permalink
  5. object ContentEncoding

    Permalink
  6. object ContentType

    Permalink
  7. object Cookie extends Serializable

    Permalink
  8. object DateHeader

    Permalink
  9. object Http extends ClientFactories[Http, HttpClient]

    Permalink
  10. object HttpBody extends HttpBodyEncoders

    Permalink
  11. object HttpChunk

    Permalink
  12. object HttpClient

    Permalink
  13. object HttpCode extends Serializable

    Permalink
  14. object HttpCodes

    Permalink
  15. object HttpHeader

    Permalink
  16. object HttpHeaders

    Permalink
  17. object HttpMethod

    Permalink
  18. object HttpParse

    Permalink
  19. object HttpRequest extends HttpRequestBuilder[HttpRequest] with Serializable

    Permalink
  20. object HttpRequestHead

    Permalink
  21. object HttpRequestParser

    Permalink
  22. object HttpResponse extends Serializable

    Permalink
  23. object HttpResponseHead extends Serializable

    Permalink
  24. object HttpResponseHeader

    Permalink
  25. object HttpResponseParser

    Permalink
  26. object HttpVersion

    Permalink
  27. implicit object IdentityEncoder extends HttpBodyEncoder[HttpBody]

    Permalink
    Definition Classes
    HttpBodyEncoders
  28. object ResponseResult

    Permalink
  29. implicit object StreamingHttpClientProvider extends ClientCodecProvider[StreamingHttp]

    Permalink
  30. implicit object StreamingHttpProvider extends ServiceCodecProvider[StreamingHttp]

    Permalink
  31. object StreamingHttpResponse extends Serializable

    Permalink
  32. implicit object StringDecoder extends HttpBodyDecoder[String]

    Permalink
    Definition Classes
    HttpBodyDecoders
  33. implicit object StringEncoder extends HttpBodyEncoder[String]

    Permalink
    Definition Classes
    HttpBodyEncoders
  34. object TransferEncoding

    Permalink
  35. object UrlParsing

    Permalink

    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 HttpBodyDecoders

Inherited from HttpBodyEncoders

Inherited from AnyRef

Inherited from Any

Ungrouped