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 void
onHttpException
(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.void
setHttpExceptionHandler
(HttpExceptionHandler aHttpExceptionHandler) Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.
-
Method Details
-
setHttpExceptionHandler
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.
-
onHttpException
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.
-