org.apache.xmlrpc
public class XmlRpcClientResponseProcessor extends XmlRpc
Since: 2.0
Version: $Id: XmlRpcClientResponseProcessor.java 350048 2005-11-30 21:49:32 +0100 (Mi, 30 Nov 2005) jochen $
Field Summary | |
---|---|
protected boolean | fault Set to true if a fault occured on the server. |
protected Object | result The result of the XML-RPC operation. |
Constructor Summary | |
---|---|
XmlRpcClientResponseProcessor(TimeZone tz)
Creates a new instance. |
Method Summary | |
---|---|
protected boolean | canReUse()
Called by the worker management framework to see if this worker can be
re-used. |
protected XmlRpcException | decodeException(Object result)
Decode an exception from the result returned from the remote server.
|
Object | decodeResponse(InputStream is)
Decode an XML-RPC response from the specified InputStream.
|
protected void | objectParsed(Object what) |
void | startElement(String name, AttributeList atts)
Overrides method in XmlRpc to handle fault repsonses. |
Returns: boolean true if this worker has been cleaned up and may be re-used.
Parameters: result The response from the remote XML-RPC server.
Returns: A XmlRpcException describing the error which occurred. XmlRpcException the processed response from the server.
Throws: XmlRpcClientException if the result could not be processed.
Parameters: is The stream from which to read the response.
Returns: The response, which will be a XmlRpcException if an error occured.
Throws: XmlRpcClientException