Interface HeaderAccessor.HeaderBuilder<T extends HeaderAccessor.HeaderBuilder<?>>

Type Parameters:
T - The managed by the builder which implements the HeaderAccessor.HeaderBuilder.
Enclosing interface:
HeaderAccessor<T>

public static interface HeaderAccessor.HeaderBuilder<T extends HeaderAccessor.HeaderBuilder<?>>
Provides a mutator for an header property.
  • Method Summary

    Modifier and Type Method Description
    T withHeader​(Header<T> aHeader)
    Sets the Headerto use returns this builder as of the builder pattern.
  • Method Details

    • withHeader

      T withHeader​(Header<T> aHeader)
      Sets the Headerto use returns this builder as of the builder pattern.
      Parameters:
      aHeader - The Header to be stored by this property.
      Returns:
      This HeaderAccessor.HeaderBuilder instance to continue configuration.