RES
- The type of the response property.ResponseAccessor<RES>
, ResponseAccessor.ResponseMutator<RES>
public static interface ResponseAccessor.ResponseProperty<RES> extends ResponseAccessor<RES>, ResponseAccessor.ResponseMutator<RES>
ResponseAccessor
with a setter method.ResponseAccessor.ResponseBuilder<RES,B extends ResponseAccessor.ResponseBuilder<RES,B>>, ResponseAccessor.ResponseMutator<RES>, ResponseAccessor.ResponseProperty<RES>
Modifier and Type | Method | Description |
---|---|---|
default RES |
letResponse(RES aResponse) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given value (setter) as of
ResponseAccessor.ResponseMutator.setResponse(Object) and returns the very same value
(getter). |
getResponse
setResponse
default RES letResponse(RES aResponse)
ResponseAccessor.ResponseMutator.setResponse(Object)
and returns the very same value
(getter).aResponse
- The value to set (via ResponseAccessor.ResponseMutator.setResponse(Object)
).Copyright © 2021. All rights reserved.