org.apache.xmlrpc
Class XmlRpcServer.Worker
java.lang.Object
|
+--org.xml.sax.HandlerBase
|
+--org.apache.xmlrpc.XmlRpc
|
+--org.apache.xmlrpc.XmlRpcServer.Worker
- All Implemented Interfaces:
- org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Enclosing class:
- XmlRpcServer
- class XmlRpcServer.Worker
- extends XmlRpc
Field Summary |
(package private) java.util.Vector |
inParams
|
(package private) java.lang.Object |
outParam
|
(package private) byte[] |
result
|
(package private) java.lang.StringBuffer |
strbuf
|
Fields inherited from class org.apache.xmlrpc.XmlRpc |
ARRAY, BASE64, BOOLEAN, cdata, currentValue, DATE, dateformat, debug, DOUBLE, encoding, encodings, errorLevel, errorMsg, FATAL, INTEGER, keepalive, methodName, NONE, parserClass, readCdata, RECOVERABLE, saxDrivers, STRING, STRUCT, types, values, version |
Method Summary |
byte[] |
execute(java.io.InputStream is,
java.lang.String user,
java.lang.String password)
|
(package private) void |
objectParsed(java.lang.Object what)
Called when an object to be added to the argument list has been parsed. |
(package private) void |
writeError(int code,
java.lang.String message,
XmlRpc.XmlWriter writer)
Writes an XML-RPC error response to the XML writer. |
(package private) void |
writeResponse(java.lang.Object param,
XmlRpc.XmlWriter writer)
Writes an XML-RPC response to the XML writer. |
Methods inherited from class org.apache.xmlrpc.XmlRpc |
, , characters, endElement, error, fatalError, getEncoding, getKeepAlive, parse, setDebug, setDriver, setDriver, setEncoding, setKeepAlive, startElement, writeObject |
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, registerNatives, toString, wait, wait, wait |
inParams
java.util.Vector inParams
outParam
java.lang.Object outParam
result
byte[] result
strbuf
java.lang.StringBuffer strbuf
XmlRpcServer.Worker
XmlRpcServer.Worker()
execute
public byte[] execute(java.io.InputStream is,
java.lang.String user,
java.lang.String password)
objectParsed
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
writeResponse
void writeResponse(java.lang.Object param,
XmlRpc.XmlWriter writer)
throws XmlRpcException
- Writes an XML-RPC response to the XML writer.
writeError
void writeError(int code,
java.lang.String message,
XmlRpc.XmlWriter writer)
throws XmlRpcException
- Writes an XML-RPC error response to the XML writer.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.