|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
#SEPARATORS
,
#TOKEN_CHAR
, and #UNSAFE_CHAR
.
HTTP cookie
, replacing any existing equivalent cookies.
cookie
s
that match the given host, port and path.
HTTP cookies
.
header
s
to be submitted via the given connection
.
headers
to be submitted to the given HttpConnection
.
IllegalStateException
if the connection is already open.
IllegalStateException
if the connection is not open.
Credentials
, method name and URI.
Credentials
,
method name and URI using the given authentication scheme.
Credentials
.
Credentials
.
HttpAuthenticator.authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState)
UsernamePasswordCredentials
.
UsernamePasswordCredentials
and authetication parameters.
HttpAuthenticator.authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState)
HttpAuthenticator
AuthScheme
interface and provides a default contstructor.IllegalStateException
if the HTTP method has been already
executed
, but not recycled
.
IllegalStateException
if the HTTP method has not been
executed
since last recycle
.
CookieSpec
interface
CookieSpec
interface
CookieSpec
interface
CookieSpec
interface
FileInputStream
for the current filename.
HttpMethod.releaseConnection()
should be used to release resources after a HttpMethod has been executed.
HttpConnection
and
HttpState
.
task
in a new deamon Thread and waits for the timeout.
task
.
HTTP method
using custom
host configuration
.
HTTP method
using the given custom
host configuration
with the given custom
HTTP state
.
HTTP method
.
Header
containing the Cookie
.
Header
containing all Cookie
s
in cookies.
Cookie
s in
cookies suitable for sending in a "Cookie" header
Cookie
s in cookies suitable for sending in a "Cookie"
header
cookie policy
for this
HTTP state.
cookies
that this HTTP
state currently contains.
CookieSpec.match(String, int, String, boolean, Cookie)
HttpState.getCredentials(String, String)
instead.
credentials
for the given authentication realm on the
given host.
Date
of the cookie, or null
if none exists.
host configuration
.
host configuration
associated with the
HttpClient.
HttpClient.getHttpConnectionManager()
instead.
HTTP connection manager
associated
with the HttpClient.
retry handler
for this HTTP method
name
of this method.
HttpState.getProxyCredentials(String, String)
instead.
credentials
for the proxy host with the given
authentication realm.
InputStream
.
String
.
HttpMethodBase
to return the length of the request body.
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.
Socket
's timeout, via Socket.getSoTimeout()
, if the
connection is already open.
HTTP state
associated with the HttpClient.
null
if the method has not been executed.
HeaderElement
s
constructed from my value.
executed
,
but not recycled
.
executed
,
but not recycled
.
Object.hashCode()
general hashCode contract.
HTTP state
and
one or more HTTP connections
, to which
HTTP methods
can be applied.simple HTTP connection manager
.
InputStream
and OutputStream
pair, together with the relevant attributes.HTTP connection
and a corresponding response.cookies
and authentication
credentials
.HttpURLConnection
wrapper around HttpClient's
HttpMethod
.HttpURLConnection
from a HttpMethod
.
Cookie
s that should be submitted with a
request with given attributes, false otherwise.
CookieSpec
interface
CookieSpec
interface
Credentials
for use with the NTLM authentication scheme which requires additional
information.Cookie
.HttpMethod
for the base HTTP methods.MultipartPostMethod
.CookieSpec
interface
Header
into an array of Cookie
s.
CookieSpec
interface
CookieSpec
interface
CookieSpec
interface
Cookie
properties.
Cookie
properties.
Cookie
properties as defined by the Netscape draft specification
String
with the character
encoding of the local system or the document.
asctime()
format.
String
to the client, without a carriage return
line feed (CRLF) character at the end.
String
to the client,
followed by a carriage return-line feed (CRLF).
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
.
len
bytes of data from the stream.
InputStream.read(byte[], int, int)
behavior, but
also notifies the watcher when the contents have been consumed.
connection
.
HttpConnection
.
HttpMethodBase
to write data to the
appropriate buffer.
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
.
retryCount
and requestSentRetryEnabled
to determine
if the given method should be retried.
cookie policy
for this HTTP
state to one of the following supported policies:
CookiePolicy.COMPATIBILITY
,
CookiePolicy.NETSCAPE_DRAFT
or
CookiePolicy.RFC2109
.
HttpState.setCredentials(String, String, Credentials)
instead.
credentials
for the given authentication
realm on the given host.
host configuration
.
host configuration
to use with the
HttpClient.
HTTP connection
from the
HTTP connection manager
.
HttpClient.setHttpConnectionManager(HttpConnectionManager)
instead.
HTTP connection manager
to use with
the HttpClient.
retry handler
for this HTTP method
HttpState.setProxyCredentials(String, String, Credentials)
instead.
credentials
for the given proxy authentication
realm on the given proxy host.
Socket
's timeout, via Socket.setSoTimeout(int)
.
HTTP state
for the HttpClient.
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.
HostConfiguration
HostConfiguration
HostConfiguration
and HttpState
HostConfiguration
and HttpState
HostConfiguration
HostConfiguration
HostConfiguration
HostConfiguration
HostConfiguration
and HttpState
String
representation of the header in the form:
String
representation of the header.
Credentials
.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 |