Module org.refcodes.rest
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.HttpExceptionHandlerMutator
Extends the
HttpExceptionHandlerAccessor with a setter method.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonHttpException(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.voidsetHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.
-
Method Details
-
setHttpExceptionHandler
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.
-
onHttpException
Sets theHttpExceptionHandlerfor theHttpExceptionHandlerproperty.- Parameters:
aHttpExceptionHandler- TheHttpExceptionHandlerto be stored by theHttpExceptionHandlerproperty.
-