Package org.eclipse.jetty.client.api
Class Authentication.HeaderInfo
- java.lang.Object
-
- org.eclipse.jetty.client.api.Authentication.HeaderInfo
-
- Enclosing interface:
- Authentication
public static class Authentication.HeaderInfo extends Object
Structure holding information about theWWW-Authenticate
(orProxy-Authenticate
) header.
-
-
Constructor Summary
Constructors Constructor Description HeaderInfo(String type, String realm, String params, HttpHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeader
getHeader()
String
getParameters()
String
getRealm()
String
getType()
-
-
-
Constructor Detail
-
HeaderInfo
public HeaderInfo(String type, String realm, String params, HttpHeader header)
-
-
Method Detail
-
getType
public String getType()
- Returns:
- the authentication type (for example "Basic" or "Digest")
-
getRealm
public String getRealm()
- Returns:
- the realm name
-
getParameters
public String getParameters()
- Returns:
- additional authentication parameters
-
getHeader
public HttpHeader getHeader()
- Returns:
- the
Authorization
(orProxy-Authorization
) header
-
-