Packages

package decodefailure

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait DecodeFailureHandler extends AnyRef
  2. class DecodeFailureInterceptor[F[_]] extends EndpointInterceptor[F]
  3. case class DefaultDecodeFailureHandler(respond: (DecodeFailureContext) ⇒ Option[(StatusCode, List[Header])], failureMessage: (DecodeFailureContext) ⇒ String, response: (StatusCode, List[Header], String) ⇒ ValuedEndpointOutput[_]) extends DecodeFailureHandler with Product with Serializable

    A decode failure handler, which:

    A decode failure handler, which:

    • decides whether the given decode failure should lead to a response (and if so, with which status code and headers), using respond
    • in case a response is sent, creates the message using failureMessage
    • in case a response is sent, creates the response using response, given the status code, headers, and the created failure message. By default, the headers might include authentication challenge.

Value Members

  1. object DefaultDecodeFailureHandler extends Serializable

Ungrouped