Class InternalCustomHeader

All Implemented Interfaces:
Renderable, ToStringRenderable
Direct Known Subclasses:
UpgradeToOtherProtocolResponseHeader, UpgradeToWebSocketLowLevel

public abstract class InternalCustomHeader extends CustomHeader
Internal API
  • Constructor Details

    • InternalCustomHeader

      public InternalCustomHeader(String name)
  • Method Details

    • name

      public String name()
      Description copied from class: HttpHeader
      Returns the name of the header.
      Specified by:
      name in class CustomHeader
    • renderInRequests

      public final boolean renderInRequests()
      Description copied from class: HttpHeader
      Returns true if and only if the header is to be rendered in requests.
      Specified by:
      renderInRequests in class HttpHeader
    • renderInResponses

      public final boolean renderInResponses()
      Description copied from class: HttpHeader
      Returns true if and only if the header is to be rendered in responses.
      Specified by:
      renderInResponses in class HttpHeader
    • value

      public String value()
      Description copied from class: HttpHeader
      Returns the String representation of the value of the header.
      Specified by:
      value in class CustomHeader