Package io.vrap.rmf.base.client.http
Interface ErrorMiddleware
- All Superinterfaces:
Middleware
Used to convert API errors to Exceptions. Uses the
HttpExceptionFactory
to convert responses to Exceptions-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMiddleware
of()
static ErrorMiddleware
of
(HttpExceptionFactory exceptionFactory) static ErrorMiddleware
of
(HttpExceptionFactory exceptionFactory, ErrorMiddleware.ExceptionMode exceptionMode) static ErrorMiddleware
of
(ErrorMiddleware.ExceptionMode exceptionMode) static ErrorMiddleware
of
(ResponseSerializer serializer) Deprecated.Methods inherited from interface io.vrap.rmf.base.client.http.Middleware
invoke
-
Method Details
-
of
-
of
Deprecated. -
of
-
of
-
of
static ErrorMiddleware of(HttpExceptionFactory exceptionFactory, ErrorMiddleware.ExceptionMode exceptionMode)
-