Package com.ngrok

Class Http.Header

  • Enclosing interface:
    Http

    public static class Http.Header
    extends Object
    Represents an HTTP header.
    • Constructor Detail

      • Header

        public Header​(String name,
                      String value)
        Constructs a new header with the specified name and value.
        Parameters:
        name - the name of the header
        value - the value of the header
    • Method Detail

      • getName

        public String getName()
        Returns the name of the header.
        Returns:
        the name of the header
      • getValue

        public String getValue()
        Returns the value of the header.
        Returns:
        the value of the header