-
- 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
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
letHttpBody
default 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).- Parameters:
aHttpBody
- TheString
to set (viaHttpBodyAccessor.HttpBodyMutator.setHttpBody(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-