Package com.inrupt.client
Class Headers.WwwAuthenticate
java.lang.Object
com.inrupt.client.Headers.WwwAuthenticate
- Enclosing class:
- Headers
Part of the HTTP Challenge and Response authentication framework, this class represents a
challenge object as represented in a WWW-Authenticate Response Header.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the challenges associated with this HTTP authentication interaction.static Headers.WwwAuthenticate
Create a new WWW-Authenticate object with a collection of challenges.static Headers.WwwAuthenticate
Create a new WWW-Authenticate object with a collection of challenges.static Headers.WwwAuthenticate
Parse header strings into a list of Challenge objects.
-
Method Details
-
getChallenges
Get the challenges associated with this HTTP authentication interaction.- Returns:
- the challenges
-
of
Create a new WWW-Authenticate object with a collection of challenges.- Parameters:
challenges
- the challenges- Returns:
- the www-authenticate object
-
of
Create a new WWW-Authenticate object with a collection of challenges.- Parameters:
challenges
- the challenges- Returns:
- the www-authenticate object
-
parse
Parse header strings into a list of Challenge objects.- Parameters:
headers
- the header strings- Returns:
- the challenge objects
-