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 theHttpExceptionHandlerAccessor
with a setter method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
onHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.void
setHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.
-
-
-
Method Detail
-
setHttpExceptionHandler
void setHttpExceptionHandler(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.
-
onHttpException
default void onHttpException(HttpExceptionHandler aHttpExceptionHandler)
Sets theHttpExceptionHandler
for theHttpExceptionHandler
property.- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to be stored by theHttpExceptionHandler
property.
-
-