public class TimeoutSecureXmlRpcTransport
extends org.apache.xmlrpc.DefaultXmlRpcTransport
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_timeout |
| Constructor and Description |
|---|
TimeoutSecureXmlRpcTransport(URL url,
int timeout)
Create a new DefaultXmlRpcTransport with the specified URL.
|
TimeoutSecureXmlRpcTransport(URL url,
String auth,
int timeout)
Deprecated.
Use setBasicAuthentication instead of passing an encoded authentication String.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
sendXmlRpc(byte[] request)
Sends the actual XMLRPC request.
|
public TimeoutSecureXmlRpcTransport(URL url, String auth, int timeout)
url - the url to POST XML-RPC requests to.auth - the Base64 encoded HTTP Basic authentication value.timeout - a int.public TimeoutSecureXmlRpcTransport(URL url, int timeout)
url - the url to POST XML-RPC requests to.timeout - a int.public InputStream sendXmlRpc(byte[] request) throws IOException
sendXmlRpc in interface org.apache.xmlrpc.XmlRpcTransportsendXmlRpc in class org.apache.xmlrpc.DefaultXmlRpcTransportrequest - an array of byte.InputStream object.IOException - if any.Copyright © 2015. All rights reserved.