Interface BodyAccessor<T>

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 
    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

    Modifier and Type
    Method
    Description
    Retrieves the value from the body property.
  • Method Details

    • getBody

      T getBody()
      Retrieves the value from the body property.
      Returns:
      The body stored by the body property.