Module org.refcodes.rest
Package org.refcodes.rest
Interface HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
- All Superinterfaces:
HttpExceptionHandlingAccessor
,HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator
- All Known Subinterfaces:
HttpRegistryRestServer<DESC,
,B> HttpRestServer
,LoopbackRestServer
,RestServer
- All Known Implementing Classes:
AbstractHttpRegistryRestServerDecorator
,AbstractHttpRestServerDecorator
,AbstractRestServer
,HttpRestServerImpl
,HttpRestServerSingleton
,LoopbackRestServerImpl
,LoopbackRestServerSingleton
- Enclosing interface:
- HttpExceptionHandlingAccessor
public static interface HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
extends HttpExceptionHandlingAccessor, HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator
Extends the
HttpExceptionHandlingAccessor
with a setter method.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor
HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B extends HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B>>, HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpExceptionHandling
letHttpExceptionHandling
(HttpExceptionHandling aHttpExceptionHandling) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpExceptionHandling
(setter) as ofHttpExceptionHandlingAccessor.HttpExceptionHandlingMutator.setHttpExceptionHandling(HttpExceptionHandling)
and returns the very same value (getter).Methods inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor
getHttpExceptionHandling
Methods inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator
setHttpExceptionHandling
-
Method Details
-
letHttpExceptionHandling
default HttpExceptionHandling letHttpExceptionHandling(HttpExceptionHandling aHttpExceptionHandling) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpExceptionHandling
(setter) as ofHttpExceptionHandlingAccessor.HttpExceptionHandlingMutator.setHttpExceptionHandling(HttpExceptionHandling)
and returns the very same value (getter).- Parameters:
aHttpExceptionHandling
- TheHttpExceptionHandling
to set (viaHttpExceptionHandlingAccessor.HttpExceptionHandlingMutator.setHttpExceptionHandling(HttpExceptionHandling)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-