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 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.
-