Module org.refcodes.rest
Package org.refcodes.rest
Interface PingRequestObserverAccessor.PingRequestObserverProperty
-
- All Superinterfaces:
PingRequestObserverAccessor
,PingRequestObserverAccessor.PingRequestObserverMutator
- All Known Subinterfaces:
HttpRegistryContext.HttpRegistryContextBuilder<DESC>
- All Known Implementing Classes:
AbstractHttpRegistryContextBuilder
- Enclosing interface:
- PingRequestObserverAccessor
public static interface PingRequestObserverAccessor.PingRequestObserverProperty extends PingRequestObserverAccessor, PingRequestObserverAccessor.PingRequestObserverMutator
Provides a pingRestRequestConsumer
property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.rest.PingRequestObserverAccessor
PingRequestObserverAccessor.PingRequestObserverBuilder<B extends PingRequestObserverAccessor.PingRequestObserverBuilder<B>>, PingRequestObserverAccessor.PingRequestObserverMutator, PingRequestObserverAccessor.PingRequestObserverProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RestRequestConsumer
letPingRequestObserver(RestRequestConsumer aRequestConsumer)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRestRequestConsumer
(setter) as ofPingRequestObserverAccessor.PingRequestObserverMutator.setPingRequestObserver(RestRequestConsumer)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor
getPingRequestObserver
-
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
setPingRequestObserver
-
-
-
-
Method Detail
-
letPingRequestObserver
default RestRequestConsumer letPingRequestObserver(RestRequestConsumer aRequestConsumer)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRestRequestConsumer
(setter) as ofPingRequestObserverAccessor.PingRequestObserverMutator.setPingRequestObserver(RestRequestConsumer)
and returns the very same value (getter).- Parameters:
aRequestConsumer
- TheRestRequestConsumer
to set (viaPingRequestObserverAccessor.PingRequestObserverMutator.setPingRequestObserver(RestRequestConsumer)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-