|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
authentication schemes
in their order of preference.
HTTP
parameters
AuthScheme.processChallenge(String)
method
HTTP cookie
, replacing any existing equivalent cookies.
cookie
s
that match the given host, port and path.
HTTP cookies
.
headers
to be submitted to the given HttpConnection
.
header
s
to be submitted via the given connection
.
headers
to be submitted to
the given HttpConnection
.
headers
to be submitted to
the given HttpConnection
.
IllegalStateException
if the connection is already open.
IllegalStateException
if the connection is not open.
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials
,
method name and URI using the given authentication scheme in response to
the actual authorization challenge.
Credentials
.
BasicScheme.authenticate(Credentials, HttpMethod)
Credentials
.
BasicScheme.authenticate(UsernamePasswordCredentials, String)
Returns a basic Authorization header value for the given
UsernamePasswordCredentials
.
UsernamePasswordCredentials
and charset.
DigestScheme.authenticate(Credentials, HttpMethod)
Credentials
, method name and URI.
NTLMScheme.authenticate(Credentials, HttpMethod)
NTLMScheme.authenticate(Credentials, HttpMethod)
NTLMScheme.authenticate(Credentials, HttpMethod)
Credentials
.
AuthScheme.processChallenge(String)
method
CookiePolicy.BROWSER_COMPATIBILITY
HTTP connection manager
class.
HTTP connection
from the
HTTP connection manager
.
cookie policy
to be used for cookie management.
Credentials
.
ContentLengthInputStream.ContentLengthInputStream(InputStream, long)
Creates a new length limited stream
HTTP method
with a means
to request authentication credentials if no credentials have been given
or given credentials are incorrect.IllegalStateException
if the HTTP method has been already
executed
, but not recycled
.
IllegalStateException
if the HTTP method has not been
executed
since last recycle
.
FileInputStream
for the current filename.
DefaultHttpParams.getDefaultParams()
as a parent.
AuthScheme.processChallenge(String)
method
HttpConnection
and
HttpState
.
HttpConnection
and
HttpState
.
task
.
task
in a new deamon Thread and waits for the timeout.
HTTP method
.
HTTP method
using custom
host configuration
.
HTTP method
using the given custom
host configuration
with the given custom
HTTP state
.
Header
containing all Cookie
s
in cookies.
Header
containing the Cookie
.
Cookie
s in
cookies suitable for sending in a "Cookie" header
Cookie
s in cookies suitable for sending in a "Cookie"
header
authentication scheme
with the given ID.
authentication scheme
.
HttpMethodParams
Boolean
parameter value with the given name.
CookiePolicy.getCookieSpec(String)
HTTP connection manager
class.
HTTP connection
from the
HTTP connection manager
.
HttpMethodParams.getCookiePolicy()
,
HttpMethod.getParams()
.
cookie policy
to be used by the
HTTP methods
this collection of parameters applies to.
cookie specification
with the given ID.
cookies
that this HTTP
state currently contains.
Credentials
.
credentials
for the given authentication realm on the
given host.
credentials
for the given authentication realm.
authentication credentials
.
authentication
schemes
in their default order.
CookiePolicy.getCookieSpec(String)
cookie specification
registered as CookiePolicy.DEFAULT
.
Double
parameter value with the given name.
HeaderElement
s
constructed from my value.
Date
of the cookie, or null
if none exists.
authentication state
authentication state
host configuration
associated with the
HttpClient.
host configuration
.
host configuration
associated with the
ProxyClient.
HTTP connection manager
associated
with the HttpClient.
Integer
parameter value with the given name.
Long
parameter value with the given name.
HttpConnectionManagerParams.MAX_HOST_CONNECTIONS
,
HttpConnectionManager.getParams()
.
HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS
,
HttpConnectionManager.getParams()
.
retry handler
for this HTTP method
retry handler
for this HTTP method
name
of this method.
HTTP protocol parameters
associated with this HttpClient.
HTTP protocol parameters
associated with this method.
parameters
associated
with this connection manager.
HTTP protocol parameters
associated with this method.
HTTP protocol parameters
associated with this method.
parameters
associated
with this connection manager.
HTTP protocol parameters
associated with this ProxyClient.
parameters
associated
with this connection manager.
authentication state
authentication state
credentials
for the proxy host with the given
authentication realm.
credentials
for the given proxy authentication realm.
InputStream
.
String
.
header group
storing the request headers.
OutputStream
suitable for writing the request.
InputStream
.
String
.
String
.
header group
storing the response headers.
InputStream
suitable for reading the response.
header group
storing the response trailer headers
as per RFC 2616 section 3.6.1.
HttpConnectionParams.getSoTimeout()
,
HttpConnection.getParams()
.
null
if a connection could not be made.
CookiePolicy.getCookieSpec(String)
CookiePolicy.getCookieSpec(String)
HTTP state
associated with the HttpClient.
HTTP state
associated with the ProxyClient.
null
if the method has not been executed.
HttpMethodParams
HTTP protocol version
to be used by the
HTTP methods
that
this collection of parameters applies to.
HEAD method
from a
non-compliant server.
HTTP state
and
one or more HTTP connections
, to which
HTTP methods
can be applied.parameter set
.
parameter set
.
parameter set
and
HTTP connection manager
.
HTTP connection manager
.
instances of HttpClient
.DefaultHttpParams.getDefaultParams()
as a parent.
InputStream
and OutputStream
pair, together with the relevant attributes.HTTP connection managers
.HTTP connections
.DefaultHttpParams.getDefaultParams()
as a parent.
HTTP connection
and a corresponding response.HTTP methods
.DefaultHttpParams.getDefaultParams()
as a parent.
HttpParams
.cookies
and authentication
credentials
.HttpURLConnection
wrapper around HttpClient's
HttpMethod
.HttpURLConnection
from a HttpMethod
.
executed
,
but not recycled
.
executed
,
but not recycled
.
Object.hashCode()
general hashCode contract.
HttpClientParams.isAuthenticationPreemptive()
,
HttpClient.getParams()
.
HttpConnectionParams.isStaleCheckingEnabled()
,
HttpConnectionManager.getParams()
.
HttpConnectionParams.isStaleCheckingEnabled()
,
HttpConnectionManager.getParams()
.
HttpMethodParams.getVersion()
HttpConnectionParams.isStaleCheckingEnabled()
,
HttpConnection.getParams()
.
DefaultHttpParams.getParameter(String)
to exercise a more granular control over HTTP protocol strictness.
HttpParams.setParameter(String, Object)
to exercise
a more granular control over HTTP protocol strictness.
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HTTP methods
attempt to mimic the exact behaviour of commonly used HTTP agents,
which many HTTP servers expect, even though such behaviour may violate
the HTTP protocol specification (RFC 2616 and other relevant RFCs).
HTTP methods
strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs).
Cookie
s that should be submitted with a
request with given attributes, false otherwise.
cookie
array.
CookiePolicy.NETSCAPE
Credentials
for use with the NTLM authentication scheme which requires additional
information.Cookie
.HttpMethod
for the base HTTP methods.MultipartPostMethod
.asctime()
format.
HTTP protocol version
used by
HTTP methods
per
default.
sockets
for communicating through HTTP proxies
via the HTTP CONNECT method.parameter set
.
parameter set
.
Header
into an array of Cookie
s.
cookie
array.
cookie
array.
NameValuePair
s from the given string.
NameValuePair
s from the given array of
characters.
NameValuePair
s from the given array of
characters.
Cookie
properties.
Cookie
properties as defined by the Netscape draft specification
Cookie
properties.
String
with the character
encoding of the local system or the document.
HttpConnection.print(String, String)
Writes the specified String (as bytes) to the output stream.
HttpConnection.printLine(String, String)
Writes the specified String (as bytes), followed by
"\r\n".getBytes() to the output stream.
state
of the authentication process.
HttpMethodBase.readResponseBody(HttpState,HttpConnection)
and can be overridden by
sub-classes in order to provide custom body processing.
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
and can be overridden by
sub-classes in order to provide custom response headers processing.
HttpMethodBase.readStatusLine(HttpState,HttpConnection)
and can be overridden by
sub-classes in order to provide custom response status line processing.
cookies
in this HTTP state
that have expired according to the current system time.
cookies
in this HTTP state
that have expired by the specified date
.
HeadMethod
should be rejected.
CookiePolicy.RFC_2109
AuthScheme.processChallenge(String)
method
InputStream.read(byte[], int, int)
behavior, but
also notifies the watcher when the contents have been consumed.
connection
.
HttpConnection
.
HttpMethodBase
method to not read a response
body, despite the presence of a Content-Length or
Transfer-Encoding header.
connection
.
HttpConnection
, setting my
status code
and status
text
.
authentication scheme
with
the given identifier.
cookie specification
with the given identifier.
retryCount
and requestSentRetryEnabled
to determine
if the given method should be retried.
cookies
should be put on
a single response header
.
authentication scheme
that can be used
to respond to the given collection of challenges.
AuthChallengeParser.parseChallenges(Header[])
and
AuthPolicy.getAuthScheme(String)
authentication scheme
.
HttpClientParams.setAuthenticationPreemptive(boolean)
,
HttpClient.getParams()
.
HttpMethodParams
Boolean
to the parameter with the given name
HTTP connection manager
class to be used der default.
HTTP connection
from the
HTTP connection manager
.
HttpConnectionParams.setStaleCheckingEnabled(boolean)
,
HttpConnectionManager.getParams()
.
HttpConnectionParams.setStaleCheckingEnabled(boolean)
,
HttpConnectionManager.getParams()
.
HttpConnectionParams.setConnectionTimeout(int)
,
HttpConnectionManager.getParams()
.
HttpConnectionParams.setConnectionTimeout(int)
,
HttpConnection.getParams()
.
HttpMethodParams.setCookiePolicy(String)
,
HttpMethod.getParams()
.
cookie policy
to be used by the
HTTP methods
this collection of parameters applies to.
credentials
for the given authentication
realm on the given host.
credentials
for the given authentication
realm.
CookiePolicy.registerCookieSpec(String, CookieSpec)
Double
to the parameter with the given name
host configuration
to use with the
HttpClient.
host configuration
.
host configuration
to use with the
ProxyClient.
HttpMethodParams.setVersion(HttpVersion)
HttpClientParams.setConnectionManagerTimeout(long)
,
HttpClient.getParams()
HTTP connection manager
to use with
the HttpClient.
Integer
to the parameter with the given name
Long
to the parameter with the given name
HttpConnectionManagerParams.MAX_HOST_CONNECTIONS
,
HttpConnectionManager.getParams()
.
HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS
,
HttpConnectionManager.getParams()
.
retry handler
for this HTTP method
retry handler
for this HTTP method
HTTP protocol parameters
for this HttpClient.
HTTP protocol parameters
for this method.
parameters
for this
connection manager.
HTTP protocol parameters
for this method.
HTTP protocol parameters
for this method.
parameters
for this
connection manager.
HTTP protocol parameters
for this ProxyClient.
parameters
for this
connection manager.
credentials
for the given proxy authentication
realm on the given proxy host.
credentials
for the given proxy authentication
realm.
EntityEnclosingMethod.setRequestContentLength(long)
instead
Sets length information about the request body.
Note: If you specify a content length the request is unbuffered. This prevents redirection and automatic retry if a request fails the first time. This means that the HttpClient can not perform authorization automatically but will throw an Exception. You will have to set the necessary 'Authorization' or 'Proxy-Authorization' headers manually.
HttpConnectionParams.setSendBufferSize(int)
,
HttpConnection.getParams()
.
HttpConnectionParams.setSoTimeout(int)
,
HttpConnection.getParams()
.
SO_TIMEOUT
value directly on the underlying socket
.
HttpConnectionParams.setStaleCheckingEnabled(boolean)
,
HttpConnection.getParams()
.
HTTP state
for the HttpClient.
HTTP state
for the ProxyClient.
DefaultHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpParams.setParameter(String, Object)
to exercise
a more granular control over HTTP protocol strictness.
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpConnectionParams.setSoTimeout(int)
,
HttpConnectionManager.getParams()
.
HttpMethodParams
HTTP protocol version
to be used by the
HTTP methods
that
this collection of parameters applies to.
true
if the status code is anything other than
SC_OK, false
otherwise.
Socket
's output, via Socket.shutdownOutput()
when running on JVM 1.3 or higher.
String
representation of the header.
String
representation of the header.
HTTP methods
should
reject ambiguous HTTP status line
.
HTTP methods
.
entity enclosing methods
.
Credentials
.authentication scheme
with
the given ID.
cookie specification
with the given ID.
Cookie
validation
Cookie
validation
Cookie
validation
connection
.
connection
.
connection
.
connection
.
connection
.
connection
.
HttpURL.DEFAULT_PORT
instead. This one doesn't conform
to the project naming conventions.
HttpsURL.DEFAULT_PORT
instead. This one doesn't conform
to the project naming conventions.
HttpURL.DEFAULT_SCHEME
instead. This one doesn't
conform to the project naming conventions.
HttpsURL.DEFAULT_SCHEME
instead. This one doesn't
conform to the project naming conventions.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |