- Type Parameters:
T
- The type of the body to be used.
- All Known Subinterfaces:
BodyAccessor.BodyProperty<T>
,Message<HEADER,
BODY>
public interface BodyAccessor<T>
Provides an accessor for a body property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
BodyAccessor.BodyBuilder<T,
B extends BodyAccessor.BodyBuilder<T, B>> Provides a builder method for a body property returning the builder for applying multiple build operations.static interface
Provides a mutator for a body property.static interface
Provides a body property. -
Method Summary
-
Method Details
-
getBody
T getBody()Retrieves the value from the body property.- Returns:
- The body stored by the body property.
-