Package com.inrupt.client.spi
Interface HeaderParser
public interface HeaderParser
A parser interface for handling HTTP header parsers.
-
Method Summary
Modifier and TypeMethodDescriptionParse multiple HTTP Link headers into a data structure.parseWacAllow
(List<String> headers) Parse multiple HTTP Wac-Allow headers into a data structure.parseWwwAuthenticate
(List<String> headers) Parse multiple HTTP WWW-Authenticate headers into a data structure.
-
Method Details
-
parseLink
Parse multiple HTTP Link headers into a data structure.- Parameters:
headers
- some number of HTTP headers- Returns:
- a collection of link structures
-
parseWwwAuthenticate
Parse multiple HTTP WWW-Authenticate headers into a data structure.- Parameters:
headers
- some number of HTTP headers- Returns:
- a WWW-Authenticate data structure
-
parseWacAllow
Parse multiple HTTP Wac-Allow headers into a data structure.- Parameters:
headers
- some number of HTTP headers- Returns:
- a Wac-Allow data structure
-