-
- Type Parameters:
REQ
- The type of the request property.
- All Superinterfaces:
RequestAccessor<REQ>
,RequestAccessor.RequestMutator<REQ>
- Enclosing interface:
- RequestAccessor<REQ>
public static interface RequestAccessor.RequestProperty<REQ> extends RequestAccessor<REQ>, RequestAccessor.RequestMutator<REQ>
Extends theRequestAccessor
with a setter method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.RequestAccessor
RequestAccessor.RequestBuilder<REQ,B extends RequestAccessor.RequestBuilder<REQ,B>>, RequestAccessor.RequestMutator<REQ>, RequestAccessor.RequestProperty<REQ>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default REQ
letRequest(REQ aRequest)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofRequestAccessor.RequestMutator.setRequest(Object)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.RequestAccessor
getRequest
-
Methods inherited from interface org.refcodes.mixin.RequestAccessor.RequestMutator
setRequest
-
-
-
-
Method Detail
-
letRequest
default REQ letRequest(REQ aRequest)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofRequestAccessor.RequestMutator.setRequest(Object)
and returns the very same value (getter).- Parameters:
aRequest
- The value to set (viaRequestAccessor.RequestMutator.setRequest(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-