Interface HttpHeader


public interface HttpHeader
Burp HTTP header able to retrieve to hold details about an HTTP header.
  • Method Details

    • name

      String name()
      Returns:
      The name of the header.
    • value

      String value()
      Returns:
      The value of the header.
    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      The String representation of the header.
    • httpHeader

      static HttpHeader httpHeader(String name, String value)
      Create a new instance of HttpHeader from name and value.
      Parameters:
      name - The name of the header.
      value - The value of the header.
      Returns:
      A new HttpHeader instance.
    • httpHeader

      static HttpHeader httpHeader(String header)
      Create a new instance of HttpHeader from a String header representation. It will be parsed according to the HTTP/1.1 specification for headers.
      Parameters:
      header - The String header representation.
      Returns:
      A new HttpHeader instance.