Package

com.mesosphere.cosmos

finch

Permalink

package finch

Visibility
  1. Public
  2. All

Type Members

  1. final class DispatchingMediaTypedBodyParser[A] extends (MediaType) ⇒ Option[(Array[Byte]) ⇒ Try[A]]

    Permalink

    Allows a com.mesosphere.cosmos.http.MediaType to select a request body parsing function.

  2. final class DispatchingMediaTypedEncoder[A] extends AnyRef

    Permalink

    Allows an io.circe.Encoder to be selected by a com.mesosphere.cosmos.http.MediaType.

  3. case class EndpointContext[Request, Response](requestBody: Request, session: RequestSession, responseEncoder: MediaTypedEncoder[Response]) extends Product with Serializable

    Permalink

    Information extracted from a request that affects endpoint behavior.

  4. abstract class EndpointHandler[Request, Response] extends AnyRef

    Permalink
  5. case class IncompatibleAcceptHeader(available: Set[MediaType], specified: Set[MediaType]) extends RequestError with Product with Serializable

    Permalink
  6. case class IncompatibleContentTypeHeader(available: Set[MediaType], specified: MediaType) extends RequestError with Product with Serializable

    Permalink
  7. final class MediaTypedDecoder[A] extends AnyRef

    Permalink

    Associates a media type with an io.circe.Decoder instance.

  8. final class MediaTypedEncoder[A] extends AnyRef

    Permalink

    Associates a media type with an io.circe.Encoder instance.

  9. final class MediaTypedRequestDecoder[A] extends AnyRef

    Permalink

    Associates relevant metadata with an io.finch.DecodeRequest instance.

  10. abstract class RequestError extends RuntimeException

    Permalink

Ungrouped