- All Superinterfaces:
HttpBodyAccessor
,HttpBodyAccessor.HttpBodyMutator
- Enclosing interface:
- HttpBodyAccessor
public static interface HttpBodyAccessor.HttpBodyProperty
extends HttpBodyAccessor, HttpBodyAccessor.HttpBodyMutator
Provides a HTTP body property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.HttpBodyAccessor
HttpBodyAccessor.HttpBodyBuilder<B extends HttpBodyAccessor.HttpBodyBuilder<B>>, HttpBodyAccessor.HttpBodyMutator, HttpBodyAccessor.HttpBodyProperty, HttpBodyAccessor.HttpBodyProvider<EXC extends Exception>
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letHttpBody
(String aHttpBody) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofHttpBodyAccessor.HttpBodyMutator.setHttpBody(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.web.HttpBodyAccessor
getHttpBody
Methods inherited from interface org.refcodes.web.HttpBodyAccessor.HttpBodyMutator
setHttpBody
-
Method Details
-
letHttpBody
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofHttpBodyAccessor.HttpBodyMutator.setHttpBody(String)
and returns the very same value (getter).- Parameters:
aHttpBody
- TheString
to set (viaHttpBodyAccessor.HttpBodyMutator.setHttpBody(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-