Package org.refcodes.rest
Interface HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>
-
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Subinterfaces:
HttpRegistryRestServer<DESC,B>
,HttpRestServer
,LoopbackRestServer
,RestServer
- All Known Implementing Classes:
AbstractHttpRegistryRestServerDecorator
,AbstractHttpRestServerDecorator
,AbstractRestServer
,HttpRestServerImpl
,HttpRestServerSingleton
,LoopbackRestServerImpl
,LoopbackRestServerSingleton
- Enclosing interface:
- HttpExceptionHandlerAccessor
public static interface HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>
Provides a builder method for aHttpExceptionHandler
property returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description B
withHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.default B
withOnHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.
-
-
-
Method Detail
-
withHttpExceptionHandler
B withHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.- Returns:
- The builder for applying multiple build operations.
-
withOnHttpException
default B withOnHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.- Returns:
- The builder for applying multiple build operations.
-
-