Packages

package reject

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class DefaultRejectHandler[F[_]](response: (StatusCode, String) => ValuedEndpointOutput[_], defaultStatusCodeAndBody: Option[(StatusCode, String)]) extends RejectHandler[F] with Product with Serializable
  2. trait RejectHandler[F[_]] extends AnyRef
  3. class RejectInterceptor[F[_]] extends RequestInterceptor[F]

    Specifies what should be done if decoding the request has failed for all endpoints, and multiple endpoints have been interpreted (doesn't do anything when interpreting a single endpoint).

    Specifies what should be done if decoding the request has failed for all endpoints, and multiple endpoints have been interpreted (doesn't do anything when interpreting a single endpoint).

    By default, if there's a method decode failure, this means that the path must have matched (as it's decoded first); then, returning a 405 (method not allowed).

    In other cases, not returning a response, assuming that the interpreter will return a "no match" to the server implementation.

Value Members

  1. object DefaultRejectHandler extends Serializable
  2. object RejectHandler
  3. object RejectInterceptor

Ungrouped