org.sblim.cimclient.internal.http
public class HttpUrlConnection extends HttpURLConnection
| Field Summary | |
|---|---|
| protected URI | iUrl |
| Constructor Summary | |
|---|---|
| HttpUrlConnection(URI pUri, HttpClientPool pHttpClientPool, AuthorizationHandler pAuthHandler)
Ctor.
| |
| Method Summary | |
|---|---|
| void | close()
Closes the client pool |
| void | connect() |
| void | disconnect() |
| String | getHeaderField(String name) |
| String | getHeaderField(int index) |
| String | getHeaderFieldKey(int index) |
| HttpClient | getHttpClient()
Returns the http client
|
| InputStream | getInputStream() |
| OutputStream | getOutputStream() |
| Permission | getPermission() |
| String | getRequestMethod() |
| String | getRequestProperty(String key) |
| int | getResponseCode() |
| String | getResponseMessage() |
| void | reset()
Resets the http client |
| void | setRequestMethod(String pMethod) |
| void | setRequestProperty(String key, String value) |
| String | toString() |
| void | useHttp11(boolean pUse11)
Enables/Disables the use of http 1.1
|
| boolean | usingProxy() |
Parameters: pUri The host URI pHttpClientPool The client pool pAuthHandler The authentication handler
Returns: The http client
Parameters: pUse11
If true http 1.1 is enabled.