Class HttpExceptionMapperServiceFilter

java.lang.Object
io.servicetalk.http.api.HttpExceptionMapperServiceFilter
All Implemented Interfaces:
HttpExecutionStrategyInfluencer, StreamingHttpServiceFilterFactory, ExecutionStrategyInfluencer<HttpExecutionStrategy>

public final class HttpExceptionMapperServiceFilter extends Object implements StreamingHttpServiceFilterFactory
Filter that maps known Exception subtypes into an HTTP response with an appropriate HttpResponseStatus.

This filter is recommended to be placed as early as possible to make sure it captures all exceptions that may be generated by other filters.