Package org.eclipse.jetty.client.api
Class Authentication.HeaderInfo
java.lang.Object
org.eclipse.jetty.client.api.Authentication.HeaderInfo
- Enclosing interface:
Authentication
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Structure holding information about the
WWW-Authenticate (or Proxy-Authenticate) header.-
Constructor Summary
ConstructorsConstructorDescriptionHeaderInfo(HttpHeader header, String type, Map<String, String> params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getParameter(String paramName) Deprecated.Deprecated.getRealm()Deprecated.getType()Deprecated.
-
Constructor Details
-
HeaderInfo
public HeaderInfo(HttpHeader header, String type, Map<String, String> params) throws IllegalArgumentExceptionDeprecated.- Throws:
IllegalArgumentException
-
-
Method Details
-
getType
Deprecated.- Returns:
- the authentication type (for example "Basic" or "Digest")
-
getRealm
Deprecated.- Returns:
- the realm name or null if there is no realm parameter
-
getBase64
Deprecated.- Returns:
- the base64 content as a string if it exists otherwise null
-
getParameters
Deprecated.- Returns:
- additional authentication parameters
-
getParameter
Deprecated.- Returns:
- specified authentication parameter or null if does not exist
-
getHeader
Deprecated.- Returns:
- the
Authorization(orProxy-Authorization) header
-