Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
N
O
P
S
T
U
V
_
A
AUTH_BASIC
- Static variable in interface com.oaklandsw.http.
Credential
Basic authentication protocol.
AUTH_DIGEST
- Static variable in interface com.oaklandsw.http.
Credential
Digest authentication protocol.
AUTH_NTLM
- Static variable in interface com.oaklandsw.http.
Credential
NTLM authentication protocol.
addRequestProperty(String, String)
- Method in class com.oaklandsw.http.
HttpURLConnection
C
CONNECT
- Static variable in class com.oaklandsw.http.
HttpURLConnection
Credential
- interface com.oaklandsw.http.
Credential
.
The Credential interface is implemented by classes that contain credential (user/password) information for an authentication protocol.
closeAllPooledConnections()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Close all pooled connections that are not currently in use.
com.oaklandsw.http
- package com.oaklandsw.http
connect()
- Method in class com.oaklandsw.http.
HttpURLConnection
D
DELETE
- Static variable in class com.oaklandsw.http.
HttpURLConnection
disconnect()
- Method in class com.oaklandsw.http.
HttpURLConnection
dumpConnectionPool()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Prints all pooled connections to System.out.
E
ESCAPING
- Static variable in class com.oaklandsw.http.
URIException
The URI escape or unescape error.
F
finalize()
- Method in class com.oaklandsw.http.
HttpURLConnection
Releases the associated transport collection when this object is to be collected.
G
GET
- Static variable in class com.oaklandsw.http.
HttpURLConnection
getCipherSuite()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the cipher suite associated with this connection.
getConnectionProxyHost()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the current value of the proxy server host on this connection.
getConnectionProxyPort()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the current value of the proxy server port number.
getConnectionTimeout()
- Method in class com.oaklandsw.http.
HttpURLConnection
Return the connection timeout value associated with this connection.
getCredential(String, String, int)
- Method in interface com.oaklandsw.http.
HttpUserAgent
Get the authentication credentials.
getDefaultConnectionTimeout()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Return the default connection timeout value.
getDefaultHostnameVerifier()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns the default hostname verifier used for SSL connections.
getDefaultIdleConnectionPing()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Return the default idle connection ping value.
getDefaultIdleConnectionTimeout()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Return the default idle connection timeout value.
getDefaultRequestTimeout()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Return the default request timeout value.
getDefaultSSLSocketFactory()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns the default SSL socket factory used for SSL connections.
getDefaultTimeout()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Deprecated.
please use getDefaultConnectionTimeout() or getDefaultRequestTimeout()
getDefaultUserAgent()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Gets the default user agent.
getDoAuthentication()
- Method in class com.oaklandsw.http.
HttpURLConnection
Automatic processing of responses where authentication is required (status codes 401 and 407).
getDomain()
- Method in class com.oaklandsw.http.
NtlmCredential
Gets the value of domain
getErrorStream()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the data associated with the connection in the event of an error.
getExplicitClose()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns true if an explicit close is required, false otherwise.
getHeaderField(String)
- Method in class com.oaklandsw.http.
HttpURLConnection
getHeaderField(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
getHeaderFieldKey(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
getHost()
- Method in class com.oaklandsw.http.
NtlmCredential
Gets the value of host
getHostnameVerifier()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the hostname verifier used for this SSL connection.
getIdleConnectionPing()
- Method in class com.oaklandsw.http.
HttpURLConnection
Return the idle connection ping value associated with this connection.
getIdleConnectionTimeout()
- Method in class com.oaklandsw.http.
HttpURLConnection
Return the idle connection timeout value associated with this connection.
getInputStream()
- Method in class com.oaklandsw.http.
HttpURLConnection
Gets an InputStream for the data returned in the response.
getInstanceFollowRedirects()
- Method in class com.oaklandsw.http.
HttpURLConnection
Whether or not I should automatically follow HTTP redirects (status code 302, etc.)
getLocalCertificates()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the certificates(s) that were sent to the server when the connection was established.
getMaxConnectionsPerHost()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Get the maximum number of connections allowed for a given host:port.
getNonProxyHosts()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns the current value of the hosts to not be accessed through the proxy server.
getNtlmPreferredEncoding()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Gets the preferred encoding for NTLM messages.
getOutputStream()
- Method in class com.oaklandsw.http.
HttpURLConnection
getPassword()
- Method in class com.oaklandsw.http.
UserCredential
Gets the value of password
getProxyCredential(String, String, int)
- Method in interface com.oaklandsw.http.
HttpUserAgent
Get the proxy authentication credentials.
getProxyHost()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns the current value of the proxy server host.
getProxyPort()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Returns the current value of the proxy server port number.
getReason()
- Method in class com.oaklandsw.http.
URIException
Get the reason message.
getReasonCode()
- Method in class com.oaklandsw.http.
URIException
Get the reason code.
getRequestProperty(String)
- Method in class com.oaklandsw.http.
HttpURLConnection
getRequestTimeout()
- Method in class com.oaklandsw.http.
HttpURLConnection
Return the request timeout value associated with this connection.
getResponseCode()
- Method in class com.oaklandsw.http.
HttpURLConnection
getResponseMessage()
- Method in class com.oaklandsw.http.
HttpURLConnection
getRetryInterval()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Get the interval to wait before each retry of a failed request.
getSSLSocketFactory()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the SSL socket factory used this SSL connection.
getServerCertificates()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns the server's certificate chain that was established when the session was setup.
getTimeout()
- Method in class com.oaklandsw.http.
HttpURLConnection
Deprecated.
please use either getConnectionTimeout() or getRequestTimeout()
getTries()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Get the number of times an idempotent request is tried.
getUse10KeepAlive()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Get the option to include the HTTP 1.0 Keep-Alive headers in HTTP requests.
getUser()
- Method in class com.oaklandsw.http.
UserCredential
Gets the value of user
getUserAgent()
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the user agent for this connection.
H
HEAD
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_CONNECT
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_DELETE
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_GET
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_HEAD
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_OPTIONS
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_POST
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_PUT
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HTTP_METHOD_TRACE
- Static variable in class com.oaklandsw.http.
HttpURLConnection
HostnameVerifier
- interface com.oaklandsw.http.
HostnameVerifier
.
An interface to allow the acceptance of SSL connections where the hostname does not match the host on the certificate.
HttpException
- exception com.oaklandsw.http.
HttpException
.
Signals that an HTTP or HttpClient exception has occurred.
HttpException()
- Constructor for class com.oaklandsw.http.
HttpException
Creates a new HttpException.
HttpException(String)
- Constructor for class com.oaklandsw.http.
HttpException
Creates a new HttpException with the specified message.
HttpTimeoutException
- exception com.oaklandsw.http.
HttpTimeoutException
.
Indicates a timeout has occurred.
HttpTimeoutException()
- Constructor for class com.oaklandsw.http.
HttpTimeoutException
Creates a new HttpTimeoutException.
HttpTimeoutException(String)
- Constructor for class com.oaklandsw.http.
HttpTimeoutException
Creates a new HttpTimeoutException with the specified message.
HttpURLConnection
- class com.oaklandsw.http.
HttpURLConnection
.
A URLConnection with support for HTTP-specific features.
HttpURLConnection()
- Constructor for class com.oaklandsw.http.
HttpURLConnection
HttpURLConnection(URL)
- Constructor for class com.oaklandsw.http.
HttpURLConnection
HttpUserAgent
- interface com.oaklandsw.http.
HttpUserAgent
.
Represents the user agent for the HTTP client.
I
isConnected()
- Method in class com.oaklandsw.http.
HttpURLConnection
Returns true if this connection is currently connected.
N
NTLM_ENCODING_OEM
- Static variable in class com.oaklandsw.http.
HttpURLConnection
NTLM_ENCODING_UNICODE
- Static variable in class com.oaklandsw.http.
HttpURLConnection
NtlmCredential
- class com.oaklandsw.http.
NtlmCredential
.
Contains the credentials specific to the NTLM authentication protocol.
NtlmCredential()
- Constructor for class com.oaklandsw.http.
NtlmCredential
NtlmCredential(String, String, String, String)
- Constructor for class com.oaklandsw.http.
NtlmCredential
O
OPTIONS
- Static variable in class com.oaklandsw.http.
HttpURLConnection
openConnection(URL)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Creates an HTTP connection directly, without using the URLStreamHandler.
P
PARSING
- Static variable in class com.oaklandsw.http.
URIException
The URI parsing error.
POST
- Static variable in class com.oaklandsw.http.
HttpURLConnection
PUT
- Static variable in class com.oaklandsw.http.
HttpURLConnection
S
setConnectionProxyHost(String)
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the host to be used as a proxy server for this connection.
setConnectionProxyPort(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the port on the proxy server host.
setConnectionTimeout(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set the connection timeout value associated with this connection.
setDefaultConnectionTimeout(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default connection timeout value.
setDefaultHostnameVerifier(HostnameVerifier)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the default hostname verifier used for SSL connections
setDefaultIdleConnectionPing(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default idle connection ping value.
setDefaultIdleConnectionPing()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default idle connection ping value to its default value (0 seconds).
setDefaultIdleConnectionTimeout(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default idle connection timeout value.
setDefaultIdleConnectionTimeout()
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default idle connection timeout value to its default value (14 seconds).
setDefaultRequestTimeout(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default request timeout value.
setDefaultSSLSocketFactory(SSLSocketFactory)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the default SSL socket factory used for SSL connections.
setDefaultTimeout(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the default timeout value.
setDefaultUserAgent(HttpUserAgent)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the default user agent.
setDoAuthentication(boolean)
- Method in class com.oaklandsw.http.
HttpURLConnection
Automatic processing of responses where authentication is required (status codes 401 and 407).
setDomain(String)
- Method in class com.oaklandsw.http.
NtlmCredential
Sets the value of domain
setExplicitClose(boolean)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets all connections to require the InputStream to be obtained using a call to getInputStream(), and for that stream to be closed.
setHost(String)
- Method in class com.oaklandsw.http.
NtlmCredential
Sets the value of host
setHostnameVerifier(HostnameVerifier)
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the hostname verifier used for this SSL connection
setIdleConnectionPing(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set the idle connection ping value associated with this connection.
setIdleConnectionTimeout(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set the idle connection timeout value associated with this connection.
setInstanceFollowRedirects(boolean)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set whether or not I should automatically follow HTTP redirects (status code 302, etc.)
setMaxConnectionsPerHost(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the maximum number of connections allowed for a given host:port.
setNonProxyHosts(String)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the hosts to be excluded from the proxy mechanism.
setNtlmPreferredEncoding(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the preferred encoding for NTLM authenticate messages.
setPassword(String)
- Method in class com.oaklandsw.http.
UserCredential
Sets the value of password
setProxyHost(String)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the host to be used as a proxy server.
setProxyPort(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Sets the port on the proxy server host.
setReason(String)
- Method in class com.oaklandsw.http.
URIException
Set the reason message.
setReasonCode(int)
- Method in class com.oaklandsw.http.
URIException
Set the reason code.
setRequestMethod(String)
- Method in class com.oaklandsw.http.
HttpURLConnection
setRequestProperty(String, String)
- Method in class com.oaklandsw.http.
HttpURLConnection
setRequestTimeout(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set the request timeout value associated with this connection.
setRetryInterval(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the interval to wait before each retry of a failed request.
setSSLSocketFactory(SSLSocketFactory)
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the SSL socket factory used for this SSL connection.
setTimeout(int)
- Method in class com.oaklandsw.http.
HttpURLConnection
Set the timeout value associated with this connection.
setTries(int)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the number of times an idempotent request is to be tried before considering it a failure.
setUse10KeepAlive(boolean)
- Static method in class com.oaklandsw.http.
HttpURLConnection
Set the option to include the HTTP 1.0 Keep-Alive headers in HTTP requests.
setUser(String)
- Method in class com.oaklandsw.http.
UserCredential
Sets the value of user
setUserAgent(HttpUserAgent)
- Method in class com.oaklandsw.http.
HttpURLConnection
Sets the user agent for this connection.
T
TRACE
- Static variable in class com.oaklandsw.http.
HttpURLConnection
toString()
- Method in class com.oaklandsw.http.
NtlmCredential
toString()
- Method in class com.oaklandsw.http.
UserCredential
U
UNKNOWN
- Static variable in class com.oaklandsw.http.
URIException
No specified reason code.
UNSUPPORTED_ENCODING
- Static variable in class com.oaklandsw.http.
URIException
The unsupported character encoding.
URIException
- exception com.oaklandsw.http.
URIException
.
The URI parsing and escape encoding exception.
URIException()
- Constructor for class com.oaklandsw.http.
URIException
Default constructor.
URIException(int)
- Constructor for class com.oaklandsw.http.
URIException
The constructor with a reason code argument.
URIException(int, String)
- Constructor for class com.oaklandsw.http.
URIException
The constructor with a reason string and its code arguments.
URIException(String)
- Constructor for class com.oaklandsw.http.
URIException
The constructor with a reason string argument.
UserCredential
- class com.oaklandsw.http.
UserCredential
.
Records the user/password credentials required by authentication protocols.
UserCredential()
- Constructor for class com.oaklandsw.http.
UserCredential
UserCredential(String, String)
- Constructor for class com.oaklandsw.http.
UserCredential
usingProxy()
- Method in class com.oaklandsw.http.
HttpURLConnection
V
verify(String, SSLSession)
- Method in interface com.oaklandsw.http.
HostnameVerifier
Called when an SSL connection is established and the hostname on the certificate does not match the hostname to which the connection is made.
_
_isSSLAvailable
- Static variable in class com.oaklandsw.http.
HttpURLConnection
A
C
D
E
F
G
H
I
N
O
P
S
T
U
V
_
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright ⌐ 2002-2005 Oakland Software Incorporated. All Rights Reserved.