Public Member Functions | |
XmlRpcLocalStreamTransport (XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer) | |
Protected Member Functions | |
void | close () throws XmlRpcClientException |
InputStream | getInputStream () throws XmlRpcException |
boolean | isResponseGzipCompressed (XmlRpcStreamRequestConfig pConfig) |
ReqWriter | newReqWriter (XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException |
void | writeRequest (ReqWriter pWriter) throws XmlRpcException, IOException, SAXException |
Private Attributes | |
LocalStreamConnection | conn |
final XmlRpcStreamRequestProcessor | localServer |
XmlRpcRequest | request |
Another local transport for debugging and testing. This one is similar to the org.apache.xmlrpc.client.XmlRpcLocalTransport, except that it adds request serialization. In other words, it is particularly well suited for development and testing of XML serialization and parsing.
Definition at line 40 of file XmlRpcLocalStreamTransport.java.
org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.XmlRpcLocalStreamTransport | ( | XmlRpcClient | pClient, |
XmlRpcStreamRequestProcessor | pServer | ||
) | [inline] |
Creates a new instance.
pClient | The client, which is controlling the transport. |
pServer | An instance of XmlRpcStreamRequestProcessor. |
Definition at line 49 of file XmlRpcLocalStreamTransport.java.
void org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.close | ( | ) | throws XmlRpcClientException [inline, protected, virtual] |
Closes the connection and ensures, that all resources are being released.
Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.
Definition at line 59 of file XmlRpcLocalStreamTransport.java.
InputStream org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.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 62 of file XmlRpcLocalStreamTransport.java.
boolean org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.isResponseGzipCompressed | ( | XmlRpcStreamRequestConfig | pConfig | ) | [inline, protected, virtual] |
Returns, whether the response is gzip compressed.
pConfig | The clients configuration. |
Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.
Definition at line 55 of file XmlRpcLocalStreamTransport.java.
ReqWriter org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.newReqWriter | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcException, IOException, SAXException [inline, protected] |
Creates a new instance of ReqWriter.
XmlRpcException | Creating the instance failed. |
IOException | Creating the instance failed, because an IOException occurs. |
SAXException | Creating the instance failed, because the request could not be parsed. |
Reimplemented from org.apache.xmlrpc.client.XmlRpcStreamTransport.
Definition at line 67 of file XmlRpcLocalStreamTransport.java.
void org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.writeRequest | ( | ReqWriter | pWriter | ) | throws XmlRpcException, IOException, SAXException [inline, protected, virtual] |
Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.
Definition at line 73 of file XmlRpcLocalStreamTransport.java.
Definition at line 42 of file XmlRpcLocalStreamTransport.java.
final XmlRpcStreamRequestProcessor org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.localServer [private] |
Definition at line 41 of file XmlRpcLocalStreamTransport.java.
Definition at line 43 of file XmlRpcLocalStreamTransport.java.