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 aHttpExceptionHandlerproperty returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BwithHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.default BwithOnHttpException(HttpExceptionHandler aHttpExceptionHandler)Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.
-
-
-
Method Detail
-
withHttpExceptionHandler
B withHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.- Returns:
- The builder for applying multiple build operations.
-
withOnHttpException
default B withOnHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.- Returns:
- The builder for applying multiple build operations.
-
-