Module org.refcodes.rest
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:
RestfulHttpRegistryServer<DESC,
,B> RestfulHttpServer
- All Known Implementing Classes:
AbstractRestfulHttpRegistryServerDecorator
,AbstractRestfulHttpServerDecorator
,HttpRestServer
,HttpRestServerSingleton
- Enclosing interface:
- HttpExceptionHandlerAccessor
public static interface HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>
Provides a builder method for a
HttpExceptionHandler
property
returning the builder for applying multiple build operations.-
Method Summary
Modifier and TypeMethodDescriptionwithHttpExceptionHandler
(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.default B
withOnHttpException
(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.
-
Method Details
-
withHttpExceptionHandler
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.- Returns:
- The builder for applying multiple build operations.
-
withOnHttpException
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.- Returns:
- The builder for applying multiple build operations.
-