Module org.refcodes.rest
Package org.refcodes.rest
Interface HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
- All Known Subinterfaces:
HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty,RestfulHttpRegistryServer<DESC,,B> RestfulHttpServer
- All Known Implementing Classes:
AbstractRestfulHttpRegistryServerDecorator,AbstractRestfulHttpServerDecorator,HttpRestServer,HttpRestServerSingleton
- 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.
-