Class XmlRpcRequestProcessor

  extended by org.xml.sax.HandlerBase
      extended by org.apache.xmlrpc.XmlRpc
          extended by org.apache.xmlrpc.XmlRpcRequestProcessor
All Implemented Interfaces:
DocumentHandler, DTDHandler, EntityResolver, ErrorHandler

public class XmlRpcRequestProcessor
extends XmlRpc

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

Andrew Evers, Hannes Wallnoefer, Daniel L. Rall

Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xmlrpc.XmlRpc
Field Summary
Fields inherited from class org.apache.xmlrpc.XmlRpc
ARRAY, BASE64, BOOLEAN, cdata, currentValue, DATE, debug, defaultInputEncoding, DOUBLE, encoding, errorLevel, errorMsg, FATAL, INTEGER, keepalive, methodName, NONE, readCdata, RECOVERABLE, STRING, STRUCT, types, tz, values, version
Constructor Summary
          Creates a new instance.
Method Summary
 XmlRpcServerRequest decodeRequest( is)
          Decode a request from an InputStream to the internal XmlRpcRequest implementation.
protected  void objectParsed(java.lang.Object what)
          Called when an object to be added to the argument list has been parsed.
Methods inherited from class org.apache.xmlrpc.XmlRpc
characters, endElement, error, fatalError, getDefaultInputEncoding, getEncoding, getInputEncoding, getKeepAlive, getMaxThreads, getServerTimeZone, parse, setDebug, setDefaultInputEncoding, setDriver, setDriver, setEncoding, setInputEncoding, setKeepAlive, setMaxThreads, setServerTimeZone, startElement
Methods inherited from class org.xml.sax.HandlerBase
endDocument, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public XmlRpcRequestProcessor()
Creates a new instance.

Method Detail


public XmlRpcServerRequest decodeRequest( 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.

is - the stream to read the request from.
ParseFailed - if unable to parse the request.


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

Specified by:
objectParsed in class XmlRpc
what - The parameter parsed from the request.

Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.