Module org.refcodes.rest
Package org.refcodes.rest
Interface HomeRequestObserverAccessor.HomeRequestObserverProperty
- All Superinterfaces:
HomeRequestObserverAccessor
,HomeRequestObserverAccessor.HomeRequestObserverMutator
- Enclosing interface:
- HomeRequestObserverAccessor
public static interface HomeRequestObserverAccessor.HomeRequestObserverProperty
extends HomeRequestObserverAccessor, HomeRequestObserverAccessor.HomeRequestObserverMutator
Provides a home
RestRequestConsumer
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.rest.HomeRequestObserverAccessor
HomeRequestObserverAccessor.HomeRequestObserverBuilder<B extends HomeRequestObserverAccessor.HomeRequestObserverBuilder<B>>, HomeRequestObserverAccessor.HomeRequestObserverMutator, HomeRequestObserverAccessor.HomeRequestObserverProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault RestRequestConsumer
letHomeRequestObserver
(RestRequestConsumer aHomeRequestObserver) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRestRequestConsumer
(setter) as ofHomeRequestObserverAccessor.HomeRequestObserverMutator.setHomeRequestObserver(RestRequestConsumer)
and returns the very same value (getter).Methods inherited from interface org.refcodes.rest.HomeRequestObserverAccessor
getHomeRequestConsumer
Methods inherited from interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator
setHomeRequestObserver
-
Method Details
-
letHomeRequestObserver
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRestRequestConsumer
(setter) as ofHomeRequestObserverAccessor.HomeRequestObserverMutator.setHomeRequestObserver(RestRequestConsumer)
and returns the very same value (getter).- Parameters:
aHomeRequestObserver
- TheRestRequestConsumer
to set (viaHomeRequestObserverAccessor.HomeRequestObserverMutator.setHomeRequestObserver(RestRequestConsumer)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-