|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Cookie
s.
headers
to be submitted to the given HttpConnection
.
HttpMethodBase
to set the Expect header if it has
not already been set, in addition to the "standard"
set of headers.
HttpMethodBase
to also add Content-Type header when appropriate.
IllegalStateException
if I am connected.
IllegalStateException
if I am not connected.
IllegalStateException
if used but not recycled.
IllegalStateException
if not used since last recycle.
String
, converting all %HH
sequences into the UTF-8 character 0xHH.
String
, converting all %HH
sequences into the UTF-8 character 0xHH.
String
by replacing
all characters not in the default
set of safe characters (URIUtil.unreserved()
)
into the sequence %HH (where HH is the hex
value of the character in the default encoding).
String
by replacing
all characters not in the given
set of safe characters into the sequence
%HH (where HH is the hex value of the
character in the default encoding).
String
by replacing
all characters not in the given
set of safe characters into the sequence
%HH (where HH is the hex value of the
character in the default encoding).
String
, first converting
the String
to bytes using the specified
encoding, then replacing all bytes not in the given
set of safe bytes into the sequence %HH (where HH is
the hex value of the byte).
String
, first converting
the String
to bytes using the specified
encoding, then replacing all bytes not in the given
set of safe bytes into the sequence %HH (where HH is
the hex value of the byte).
String
by replacing
all characters not in the default
set of safe characters (URIUtil.unreserved()
)
into the sequence %HH (where HH is the hex
value of the character in the default encoding).
connection
if any.
HttpMethod
using my current
connection
and HttpState
.
HttpUrlMethod
using my current
connection
and HttpState
.
Cookie
s.
Cookie
s that
match the given request parameters.
Date
, or null
if none exists.
name
of this method.
HttpMethodBase
to return the appropriate content length.
HttpMethodBase
to return the length of the request body.
RequestOutputStream
suitable for writing (possibly
chunked) bytes to my OutputStream
.
RequestOutputStream
suitable for writing (possibly
chunked) bytes to my OutputStream
.
InputStream
.
InputStream
.
InputStream
.
String
.
ResponseInputStream
suitable for reading (possibly
chunked) bytes from my InputStream
.
state
.
HeaderElement
s
constructed from my value.
executed
but not recycled.
equals
(b) then
a.hashCode() == b.hashCode().
general hashCode contract
.
HttpState
and
one or more HttpConnection
s, to which
HttpMethod
s can be applied.InputStream
and OutputStream
pair, together with the relevant attributes.HttpConnection
,
and a container for the associated response.HttpMethod
.Cookie
s and authentication
Credentials
.HttpURLConnection
wrapper around HttpClient's
HttpMethod
.HttpURLConnection
from a
HttpMethod
.
HttpMethod
for the base HTTP methods.Header
into an array of
Cookies.
Header
into an array of
Cookies, assuming that the cookies were recieved
on an insecure channel.
Header
into an array of
Cookies.
Header
into an array of
Cookies, assuming that the cookies were recieved
on an insecure channel.
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).
readResponseBody(HttpState,HttpConnection)
will have been invoked.
readResponseHeaders(HttpState,HttpConnection)
will have been invoked).
status code
and
status text
values will have been set (in other
words, readStatusLine(HttpState,HttpConnection
will have been invoked).
Cookie
s that
have expired according to the current
system time.
Cookie
s that
have expired by the specified date.
len
bytes of data from the input stream
into an array of bytes.
HttpConnection
.
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.
HttpConnection
, populating
the response headers map.
HttpConnection
, setting my
status code
and status
text
.
HttpMethodBase
to clear my request body.
OutputStream
wrapper supporting the chunked transfer encoding.InputStream
wrapper supporting the chunked transfer encoding.PostMethod.removeParameter(String,String)
followed by
PostMethod.addParameter(String,String)
.
PostMethod.setRequestBody(java.io.InputStream)
instead.
Socket
's timeout, via Socket.setSoTimeout(int)
.
state
.
Socket
's output, via Socket.shutdownOutput()
.
String
representation of me, suitable
for use in an HTTP head.
String
representation of me.
String
representation of me.
Credentials
.HttpConnection
.
HttpConnection
HttpMethodBase
to not send any data until
the 100 Continue status has not be
read.
HttpMethodBase
to write request parameters as the request body.
HttpConnection
.
HttpConnection
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |