Interface SpdyHeaders

    • Method Detail

      • getAsString

        String getAsString​(CharSequence name)
        Headers.get(Object) and convert the result to a String.
        Parameters:
        name - the name of the header to retrieve
        Returns:
        the first header value if the header is found. null if there's no such header.
      • contains

        boolean contains​(CharSequence name,
                         CharSequence value,
                         boolean ignoreCase)
        Returns true if a header with the name and value exists, false otherwise.

        If ignoreCase is true then a case insensitive compare is done on the value.

        Parameters:
        name - the name of the header to find
        value - the value of the header to find
        ignoreCase - true then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.