Class CustomHeader

All Implemented Interfaces:
Renderable, ToStringRenderable
Direct Known Subclasses:
InternalCustomHeader, ModeledCustomHeader

public abstract class CustomHeader extends CustomHeader
Superclass for user-defined custom headers defined by implementing name and value.

Prefer to extend ModeledCustomHeader and ModeledCustomHeaderCompanion instead if planning to use the defined header in match clauses (e.g. in the routing layer of Akka HTTP), as they allow the custom header to be matched from RawHeader and vice-versa.

  • Constructor Details

    • CustomHeader

      public CustomHeader()
  • Method Details