org.apache.xmlrpc
Class XmlRpcRequestProcessor

java.lang.Object
  |
  +--org.xml.sax.HandlerBase
        |
        +--org.apache.xmlrpc.XmlRpc
              |
              +--org.apache.xmlrpc.XmlRpcRequestProcessor
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XmlRpcRequestProcessor
extends XmlRpc

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

Since:
1.2
Author:
Andrew Evers, Hannes Wallnoefer, Daniel Rall

Fields inherited from class org.apache.xmlrpc.XmlRpc
debug, version
 
Constructor Summary
protected XmlRpcRequestProcessor()
          Creates a new instance.
 
Method Summary
protected  void objectParsed(java.lang.Object what)
          Called when an object to be added to the argument list has been parsed.
 XmlRpcRequest processRequest(java.io.InputStream is)
          Process a request.
 
Methods inherited from class org.apache.xmlrpc.XmlRpc
characters, endElement, error, fatalError, getEncoding, getKeepAlive, getMaxThreads, setDebug, setDriver, setDriver, setEncoding, setKeepAlive, setMaxThreads, 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

XmlRpcRequestProcessor

protected XmlRpcRequestProcessor()
Creates a new instance.
Method Detail

processRequest

public XmlRpcRequest processRequest(java.io.InputStream is)
Process a request.
Parameters:
is - the stream to read the request from.
Throws:
ParseFailed - if unable to parse the request.

objectParsed

protected void objectParsed(java.lang.Object what)
Called when an object to be added to the argument list has been parsed.
Overrides:
objectParsed in class XmlRpc
Parameters:
what - The parameter parsed from the request.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.