public class HTTPAuthProvider extends Object implements Serializable, org.apache.http.client.CredentialsProvider
Modifier and Type | Field and Description |
---|---|
static String |
PROXY_AUTH_RESP |
static String |
WWW_AUTH_RESP |
Constructor and Description |
---|
HTTPAuthProvider(String url,
HTTPMethod method) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
void |
setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds) |
String |
toString() |
public static final String WWW_AUTH_RESP
public static final String PROXY_AUTH_RESP
public HTTPAuthProvider(String url, HTTPMethod method)
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials
in interface org.apache.http.client.CredentialsProvider
public void setCredentials(org.apache.http.auth.AuthScope scope, org.apache.http.auth.Credentials creds)
setCredentials
in interface org.apache.http.client.CredentialsProvider
public void clear()
clear
in interface org.apache.http.client.CredentialsProvider
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.