Package org.eclipse.jetty.client.api
Class Authentication.HeaderInfo
- java.lang.Object
-
- org.eclipse.jetty.client.api.Authentication.HeaderInfo
-
- Enclosing interface:
- Authentication
@Deprecated(since="2021-05-27") public static class Authentication.HeaderInfo extends java.lang.ObjectDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Structure holding information about theWWW-Authenticate(orProxy-Authenticate) header.
-
-
Constructor Summary
Constructors Constructor Description HeaderInfo(HttpHeader header, java.lang.String type, java.util.Map<java.lang.String,java.lang.String> params)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBase64()Deprecated.HttpHeadergetHeader()Deprecated.java.lang.StringgetParameter(java.lang.String paramName)Deprecated.java.util.Map<java.lang.String,java.lang.String>getParameters()Deprecated.java.lang.StringgetRealm()Deprecated.java.lang.StringgetType()Deprecated.
-
-
-
Constructor Detail
-
HeaderInfo
public HeaderInfo(HttpHeader header, java.lang.String type, java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.IllegalArgumentException
Deprecated.- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
getType
public java.lang.String getType()
Deprecated.- Returns:
- the authentication type (for example "Basic" or "Digest")
-
getRealm
public java.lang.String getRealm()
Deprecated.- Returns:
- the realm name or null if there is no realm parameter
-
getBase64
public java.lang.String getBase64()
Deprecated.- Returns:
- the base64 content as a string if it exists otherwise null
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Deprecated.- Returns:
- additional authentication parameters
-
getParameter
public java.lang.String getParameter(java.lang.String paramName)
Deprecated.- Returns:
- specified authentication parameter or null if does not exist
-
getHeader
public HttpHeader getHeader()
Deprecated.- Returns:
- the
Authorization(orProxy-Authorization) header
-
-