org.apache.xmlrpc

Class XmlRpcRequestProcessor

public class XmlRpcRequestProcessor extends XmlRpc

Process an InputStream and produce an XmlRpcServerRequest. This class is NOT thread safe.

Since: 1.2

Author: Andrew Evers Hannes Wallnoefer Daniel L. Rall

Field Summary
VectorrequestParams
Constructor Summary
XmlRpcRequestProcessor()
Creates a new instance.
Method Summary
XmlRpcServerRequestdecodeRequest(InputStream is)
Decode a request from an InputStream to the internal XmlRpcRequest implementation.
protected voidobjectParsed(Object what)
Called when an object to be added to the argument list has been parsed.

Field Detail

requestParams

private Vector requestParams

Constructor Detail

XmlRpcRequestProcessor

public XmlRpcRequestProcessor()
Creates a new instance.

Method Detail

decodeRequest

public XmlRpcServerRequest decodeRequest(InputStream is)
Decode a request from an InputStream to the internal XmlRpcRequest implementation. This method must read data from the specified stream and return an XmlRpcRequest object, or throw an exception.

Parameters: is the stream to read the request from.

Throws: ParseFailed if unable to parse the request.

UNKNOWN: XMLRpcRequest the request.

objectParsed

protected void objectParsed(Object what)
Called when an object to be added to the argument list has been parsed.

Parameters: what The parameter parsed from the request.

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.