Package org.refcodes.rest
Interface HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
-
- All Known Subinterfaces:
HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty,HttpRegistryRestServer<DESC,B>,HttpRestServer,LoopbackRestServer,RestServer
- All Known Implementing Classes:
AbstractHttpRegistryRestServerDecorator,AbstractHttpRestServerDecorator,AbstractRestServer,HttpRestServerImpl,HttpRestServerSingleton,LoopbackRestServerImpl,LoopbackRestServerSingleton
- Enclosing interface:
- HttpExceptionHandlerAccessor
public static interface HttpExceptionHandlerAccessor.HttpExceptionHandlerMutatorExtends theHttpExceptionHandlerAccessorwith a setter method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidonHttpException(HttpExceptionHandler aHttpExceptionHandler)Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.voidsetHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.
-
-
-
Method Detail
-
setHttpExceptionHandler
void setHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.
-
onHttpException
default void onHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.
-
-