Module org.refcodes.rest
Package org.refcodes.rest
Interface HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
- All Superinterfaces:
HttpExceptionHandlerAccessor
,HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
- All Known Subinterfaces:
RestfulHttpRegistryServer<DESC,
,B> RestfulHttpServer
- All Known Implementing Classes:
AbstractRestfulHttpRegistryServerDecorator
,AbstractRestfulHttpServerDecorator
,HttpRestServer
,HttpRestServerSingleton
- Enclosing interface:
- HttpExceptionHandlerAccessor
public static interface HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
extends HttpExceptionHandlerAccessor, HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
Extends the
HttpExceptionHandlerAccessor
with a setter method.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor
HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>, HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpExceptionHandler
letHttpExceptionHandler
(HttpExceptionHandler aHttpExceptionHandler) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpExceptionHandler
(setter) as ofHttpExceptionHandlerAccessor.HttpExceptionHandlerMutator.setHttpExceptionHandler(HttpExceptionHandler)
and returns the very same value (getter).Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor
getHttpExceptionHandler
Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
onHttpException, setHttpExceptionHandler
-
Method Details
-
letHttpExceptionHandler
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpExceptionHandler
(setter) as ofHttpExceptionHandlerAccessor.HttpExceptionHandlerMutator.setHttpExceptionHandler(HttpExceptionHandler)
and returns the very same value (getter).- Parameters:
aHttpExceptionHandler
- TheHttpExceptionHandler
to set (viaHttpExceptionHandlerAccessor.HttpExceptionHandlerMutator.setHttpExceptionHandler(HttpExceptionHandler)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-