Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
org.apache.xmlrpc.client.XmlRpcSunHttpTransport Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcSunHttpTransport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Object sendRequest (XmlRpcRequest pRequest) throws XmlRpcException
 XmlRpcSunHttpTransport (XmlRpcClient pClient)

Protected Member Functions

void close () throws XmlRpcClientException
InputStream getInputStream () throws XmlRpcException
URLConnection getURLConnection ()
boolean isResponseGzipCompressed (XmlRpcStreamRequestConfig pConfig)
URLConnection newURLConnection (URL pURL) throws IOException
void setRequestHeader (String pHeader, String pValue)
void writeRequest (ReqWriter pWriter) throws IOException, XmlRpcException, SAXException

Private Attributes

URLConnection conn

Static Private Attributes

static final String userAgent = " (Sun HTTP Transport)"

Detailed Description

Default implementation of an HTTP transport, based on the java.net.HttpURLConnection class.

Definition at line 37 of file XmlRpcSunHttpTransport.java.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pClientThe client controlling this instance.

Definition at line 44 of file XmlRpcSunHttpTransport.java.


Member Function Documentation

Closes the connection and ensures, that all resources are being released.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 76 of file XmlRpcSunHttpTransport.java.

InputStream org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream ( ) throws XmlRpcException [inline, protected, virtual]

Returns the input stream, from which the response is being read.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 87 of file XmlRpcSunHttpTransport.java.

For use by subclasses.

Definition at line 55 of file XmlRpcSunHttpTransport.java.

Returns, whether the response is gzip compressed.

Parameters:
pConfigThe clients configuration.
Returns:
Whether the response stream is gzip compressed.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 83 of file XmlRpcSunHttpTransport.java.

URLConnection org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newURLConnection ( URL  pURL) throws IOException [inline, protected]

Send an XML-RPC message. This method is called to send a message to the other party.

Parameters:
pRequestThe request being performed.
Returns:
Result object, if invoking the remote method was successfull.
Exceptions:
XmlRpcExceptionPerforming the request failed.

Reimplemented from org.apache.xmlrpc.client.XmlRpcHttpTransport.

Definition at line 59 of file XmlRpcSunHttpTransport.java.

void org.apache.xmlrpc.client.XmlRpcSunHttpTransport.setRequestHeader ( String  pHeader,
String  pValue 
) [inline, protected, virtual]
void org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest ( ReqWriter  pWriter) throws IOException, XmlRpcException, SAXException [inline, protected, virtual]

Member Data Documentation

Definition at line 39 of file XmlRpcSunHttpTransport.java.

final String org.apache.xmlrpc.client.XmlRpcSunHttpTransport.userAgent = " (Sun HTTP Transport)" [static, private]

Reimplemented from org.apache.xmlrpc.client.XmlRpcHttpTransport.

Definition at line 38 of file XmlRpcSunHttpTransport.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50