Interface HeaderParser


public interface HeaderParser
A parser interface for handling HTTP header parsers.
  • Method Details

    • parseLink

      List<Headers.Link> parseLink(List<String> headers)
      Parse multiple HTTP Link headers into a data structure.
      Parameters:
      headers - some number of HTTP headers
      Returns:
      a collection of link structures
    • parseWwwAuthenticate

      Headers.WwwAuthenticate parseWwwAuthenticate(List<String> headers)
      Parse multiple HTTP WWW-Authenticate headers into a data structure.
      Parameters:
      headers - some number of HTTP headers
      Returns:
      a WWW-Authenticate data structure
    • parseWacAllow

      Headers.WacAllow parseWacAllow(List<String> headers)
      Parse multiple HTTP Wac-Allow headers into a data structure.
      Parameters:
      headers - some number of HTTP headers
      Returns:
      a Wac-Allow data structure