org.apache.xmlrpc
Class XmlRpcClientLite.HttpClient
java.lang.Object
org.apache.xmlrpc.XmlRpcClientLite.HttpClient
- Enclosing class:
- XmlRpcClientLite
- class XmlRpcClientLite.HttpClient
- extends java.lang.Object
A replacement for java.net.URLConnection, which seems very slow on
MS Java.
Field Summary |
(package private) byte[] |
buffer
|
(package private) java.lang.String |
host
|
(package private) java.lang.String |
hostname
|
(package private) java.io.BufferedInputStream |
input
|
(package private) boolean |
keepalive
|
(package private) java.io.BufferedOutputStream |
output
|
(package private) int |
port
|
(package private) java.net.Socket |
socket
|
(package private) java.lang.String |
uri
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hostname
java.lang.String hostname
host
java.lang.String host
port
int port
uri
java.lang.String uri
socket
java.net.Socket socket
output
java.io.BufferedOutputStream output
input
java.io.BufferedInputStream input
keepalive
boolean keepalive
buffer
byte[] buffer
XmlRpcClientLite.HttpClient
public XmlRpcClientLite.HttpClient(java.net.URL url)
throws java.io.IOException
- Parameters:
url
-
- Throws:
java.io.IOException
initConnection
protected void initConnection()
throws java.io.IOException
- Throws:
java.io.IOException
closeConnection
protected void closeConnection()
sendRequest
public java.io.InputStream sendRequest(byte[] request)
throws java.io.IOException
- Parameters:
request
-
- Returns:
-
- Throws:
java.io.IOException
readLine
private java.lang.String readLine()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
finalize
protected void finalize()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © ${year} Apache Software Foundation. All Rights Reserved.