Interface HeaderAccessor.HeaderBuilder<T,​B extends HeaderAccessor.HeaderBuilder<T,​B>>

Type Parameters:
T - the header type
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
HeaderAccessor<T>

public static interface HeaderAccessor.HeaderBuilder<T,​B extends HeaderAccessor.HeaderBuilder<T,​B>>
Provides a builder method for a header property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type Method Description
    B withHeader​(T aHeader)
    Sets the header for the header property.
  • Method Details

    • withHeader

      B withHeader​(T aHeader)
      Sets the header for the header property.
      Parameters:
      aHeader - The header to be stored by the header property.
      Returns:
      The builder for applying multiple build operations.