Classes | Public Member Functions | Protected Member Functions
org.apache.xmlrpc.client.XmlRpcStreamTransport Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcStreamTransport:
Inheritance graph
[legend]

List of all members.

Classes

class  GzipReqWriter
interface  ReqWriter
class  ReqWriterImpl

Public Member Functions

Object sendRequest (XmlRpcRequest pRequest) throws XmlRpcException

Protected Member Functions

abstract void close () throws XmlRpcClientException
abstract InputStream getInputStream () throws XmlRpcException
boolean isCompressingRequest (XmlRpcStreamRequestConfig pConfig)
abstract boolean isResponseGzipCompressed (XmlRpcStreamRequestConfig pConfig)
ReqWriter newReqWriter (XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException
XMLReader newXMLReader () throws XmlRpcException
Object readResponse (XmlRpcStreamRequestConfig pConfig, InputStream pStream) throws XmlRpcException
abstract void writeRequest (ReqWriter pWriter) throws XmlRpcException, IOException, SAXException
 XmlRpcStreamTransport (XmlRpcClient pClient)

Detailed Description

Implementation of a transport class, which is based on an output stream for sending the request and an input stream for receiving the response,

Definition at line 44 of file XmlRpcStreamTransport.java.


Constructor & Destructor Documentation

Creates a new instance on behalf of the given client.

Definition at line 101 of file XmlRpcStreamTransport.java.


Member Function Documentation

abstract void org.apache.xmlrpc.client.XmlRpcStreamTransport.close ( ) throws XmlRpcClientException [protected, pure virtual]
abstract InputStream org.apache.xmlrpc.client.XmlRpcStreamTransport.getInputStream ( ) throws XmlRpcException [protected, pure virtual]

Definition at line 121 of file XmlRpcStreamTransport.java.

Returns, whether the response is gzip compressed.

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

Implemented in org.apache.xmlrpc.client.XmlRpcLiteHttpTransport, org.apache.xmlrpc.client.XmlRpcCommonsTransport, org.apache.xmlrpc.client.XmlRpcSunHttpTransport, and org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.

ReqWriter org.apache.xmlrpc.client.XmlRpcStreamTransport.newReqWriter ( XmlRpcRequest  pRequest) throws XmlRpcException, IOException, SAXException [inline, protected]

Creates a new instance of ReqWriter.

Exceptions:
XmlRpcExceptionCreating the instance failed.
IOExceptionCreating the instance failed, because an IOException occurs.
SAXExceptionCreating the instance failed, because the request could not be parsed.

Reimplemented in org.apache.xmlrpc.client.XmlRpcHttpTransport, and org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.

Definition at line 134 of file XmlRpcStreamTransport.java.

Definition at line 175 of file XmlRpcStreamTransport.java.

Object org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse ( XmlRpcStreamRequestConfig  pConfig,
InputStream  pStream 
) throws XmlRpcException [inline, protected]

Definition at line 179 of file XmlRpcStreamTransport.java.

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.

Implements org.apache.xmlrpc.client.XmlRpcTransport.

Reimplemented in org.apache.xmlrpc.client.XmlRpcHttpTransport, org.apache.xmlrpc.client.XmlRpcLiteHttpTransport, and org.apache.xmlrpc.client.XmlRpcSunHttpTransport.

Definition at line 146 of file XmlRpcStreamTransport.java.

abstract void org.apache.xmlrpc.client.XmlRpcStreamTransport.writeRequest ( ReqWriter  pWriter) throws XmlRpcException, IOException, SAXException [protected, pure virtual]

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


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