-
- 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
Nested Classes Modifier and Type Interface Description static 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
BodyAccessor.BodyMutator<T>
Provides a mutator for a body property.static interface
BodyAccessor.BodyProperty<T>
Provides a body property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getBody()
Retrieves the value from the body property.
-
-
-
Method Detail
-
getBody
T getBody()
Retrieves the value from the body property.- Returns:
- The body stored by the body property.
-
-