Make a call to be queued and then executed by the next free async
thread
Tranforms a Java encoding to the canonical XML form (if a
mapping is available).
Called by the worker management framework to see if this object can be
re-used.
Called by the worker management framework to see if this worker can be
re-used.
Called by the worker management framework to see if this worker can be
re-used.
The underlying cause of this exception.
Used to collect character data (CDATA
) of
parameter values.
Set the character data for the element and interpret it
according to the element type.
Set the character data for the element and interpret it according to
the element type
Method called by SAX driver.
Method called by SAX driver.
DEPRECATED: Do not use this method, it will be removed soon.
The fault code of the exception.
The fault code of the exception.
Implementor of the XmlRpcTransport interface using the Apache
Commons HttpClient library v2.0 available at
http://jakarta.apache.org/commons/httpclient/
Note: Currently this transport is not thread safe
Creates a new instance of CommonsXmlRpcTransport
A transport factory, which uses the Jakarta Commons
HttpClient.
Creates a new instance with the given server URL.
An XML-RPC handler that also handles user authentication.
Create a local object for a <base64> tag.
Create a local object for a <base64> tag.
Create a local object for a <boolean> tag.
Create a local object for a <boolean> tag.
Create a local object for a <dateTime.iso8601> tag.
Create a local object for a <dateTime.iso8601> tag.
Create a local object for a <double> tag.
Create a local object for a <double> tag.
Create a local object for an <int> or <i4> tag.
Create a local object for an <int> or <i4> tag.
Factory method to manufacture the server socket.
Create a local object for a <string> tag.
Create a local object for a <string> tag.
Create a new XML-RPC transport.
DATE - static field in class org.apache.xmlrpc.
XmlRpc Thread-safe wrapper for the DateFormat
object used
to parse date/time values.
Wraps a DateFormat
instance to provide thread safety.
Thread-safe wrapper for the DateFormat
object used
to parse date/time values.
Uses the DateFormat
string
yyyyMMdd'T'HH:mm:ss
.
Whether to log debugging output.
Decode an exception from the result returned from the remote server.
Decode a request from an InputStream to the internal XmlRpcRequest
implementation.
Decode an XML-RPC response from the specified InputStream.
Default key manager type.
Default key store location.
Default key store password.
Default key store format.
The default parser to use (MinML).
Default protocol handler packages.
Default security protocol.
Default security provider class.
Default key store location.
Default key store password.
Default key store format.
Factory method to return a default context object for the execute() method.
Provide a default handler mapping, used by the XmlRpcServer.
Java's name for the input encoding we're using.
The default implementation of the TypeDecoder
interface.
The default implementation of the TypeFactory
interface.
A basic context object that stores the userName, password and
handler mapping.
Interface from XML-RPC to the default HTTP transport based on the
Create a new DefaultXmlRpcTransport with the specified URL.
Create a new DefaultXmlRpcTransport with the specified URL and basic
authorization string.
Default XML-RPC transport factory, produces HTTP, HTTPS with SSL or TLS based on URI protocol.
Contructor taking a Base64 encoded Basic Authentication string.
Add an IP address to the list of denied clients.
Examines command line arguments from argv
.
df - field in class org.apache.xmlrpc.util.
DateTool A simple handler which echos its input parameters.
Process an exception, and return output in the specified
encoding.
Process an exception, and return output in the specified
encoding.
Encode a request from the XmlClientRpcRequest implementation to an
output stream in the specified character encoding.
Encode a request from the XmlRpcClientRequest implementation to a
byte array representing the XML-RPC call, in the specified character
encoding.
Process a successful response, and return output in the
specified encoding.
Java's name for the encoding we're using.
Mapping between Java encoding names and "real" names used in
XML prolog.
Releases connection resources.
Notification that a new child element has been parsed.
Notification that a new child element has been parsed.
Method called by SAX driver.
Method called by SAX driver.
Parse the request and execute the handler method, if one is
found.
Parse the request and execute the handler method, if one is
found.
Decode, process and encode the response or exception for an XML-RPC
request.
Parse the request and execute the handler method, if one is
found.
Decode, process and encode the response or exception for an XML-RPC
request.
main method, sucht methode in object, wenn gefunden dann aufrufen.
Calls the XML-RPC server with the specified methodname and argument list.
Generate an XML-RPC request and send it to the server.
Return the result, or throw an Exception if something went wrong.
Generate an XML-RPC request and send it to the server.
Return the result, or throw an Exception if something went wrong.
Return the result, or throw an Exception if something went wrong.
Execute a <ignored>.<name> call by calling the handler for
<name> in the the system handler mapping.
Return the result, or throw an Exception if something went wrong.
Execute an XML-RPC call and handle asyncronous callback.
Generate an XML-RPC request and send it to the server in a new thread.
Returns the cause of this throwable or null if the cause is nonexistent
or unknown.
Return the default input encoding.
Return the encoding, transforming to the canonical name if
possible.
Find the handler and its method name for a given method.
Return the handler for the specified handler name.
Get the XML-RPC handler mapping for the server handling the request.
Get the XML-RPC handler mapping for the server handling the request.
Return the current XmlRpcHandlerMapping.
Get the input encoding for this XmlRpc instance.
get current HTTP keepalive mode.
Get the key manager type.
Get the key store location.
Get the key store password.
Get the key store format.
Gets the maximum number of threads used at any given moment.
Get the MaxThreads for this Client
Get the MaxThreads for this Server
Get the password specified in the outer request.
Get the password specified in the outer request.
Get the protocol handler packages.
Get the security protocol.
Get the security provider class.
Get the key store location.
Get the trust store password.
Get the key store format.
Return the URL for this XML-RPC client.
Get the username specified in the outer request.
Get the username specified in the outer request.
Hands out pooled workers.
Initialize the XML-RPC client, trying to get the port number from the
applet parameter tags.
Initialize the XML-RPC client with the specified port and the server this
applet came from.
Initialize the XML-RPC client with the specified port and request path
and the server this applet came from.
Pass the specified request to the handler.
Introspects handlers using Java Reflection to call methods matching
a XML-RPC call.
Java's name for the ISO-8859-1 encoding.
Section 2.2 of the XML spec describes which Unicode code points
are valid in XML:
#x9 | #xA | #xD | [#x20-#xD7FF] |
[#xE000-#xFFFD] | [#x10000-#x10FFFF]
Code points outside this set must be entity encoded to be
represented in XML.
Test if a local object translates to a <double> tag.
Test if a local object translates to a <double> tag.
Test if a local object translates to an <i4> tag.
Test if a local object translates to an <i4> tag.
This can be called from command line, but you'll have to
edit and recompile to change the server port or handler objects.
This can be called from command line, but you'll have to edit
and recompile to change the server port or handler objects.
The maximum number of threads which can be used concurrently.
The maximum number of threads which can be used concurrently, by defaut use the one defined
in XmlRpc
The maximum number of threads which can be used concurrently, by defaut use the one defined
in XmlRpc
The system.multicall
handler performs several RPC
calls at a time.
A minimal web server that exclusively handles XML-RPC requests
over a secure channel.
Creates a secure web server configured to run on the specified
port number.
Creates a secure web server configured to run on the specified
port number and IP address.
Creates a secure web server at the specified port number and IP
address.
A multithreaded, reusable XML-RPC client object.
Construct a XML-RPC client for the URL represented by this String.
Construct a XML-RPC client for the specified hostname and port.
Construct a XML-RPC client with this URL.
The security protocol to be used by the
secure web server.
Class name of the security provider to be
used by the secure web server.
Sets Authentication for this client.
Sets Authentication for this client.
Sets Authentication for this client, very basic for now user/password
Sets Authentication for this client.
Sets Authentication for this client.
Sets Authentication for this client.
Sets Authentication for this client.
Sets Authentication for this client.
Sets the timeout until a connection is etablished.
Sets the timeout until a connection is etablished.
Switch debugging output on/off.
Switch debugging output on/off.
Set the default input encoding of the XML.
Set the SAX Parser to be used by directly passing the Class object.
Set the SAX Parser to be used.
Set the encoding of the XML.
Transport make use of the 'Accept-Encoding: gzip', so compliant HTTP servers
could return HTTP reply compressed with gzip
Set the input encoding for this XmlRpc instance.
Switch HTTP keepalive on/off.
Set the key manager type.
Set the key store location.
Set the key store password.
Set the key store format.
Sets the maximum number of threads used at any given moment.
Set the MaxThreads for this Client
Set the MaxThreads for this Client
Switch client filtering on/off.
Set a property for all newly created transports.
Set the protocol handler packages.
Transport make use of the 'Content-Encoding: gzip' and send HTTP request
compressed with gzip : works only with some compliant HTTP servers like Apache 2.x
using SetInputFilter DEFLATE.
Set the security protocol.
Set the security provider class.
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
Set the key store location.
Set the trust store password.
Set the key store format.
Set the type of this value.
Set the type of this value.
Initializes this server's listener socket with the specified
attributes, assuring that a socket timeout has been set.
Set the UserAgent for this client
Stop listening on the server port.
Construct a XML-RPC client for the URL represented by this String.
Construct a XML-RPC client for the specified hostname and port.
Construct a XML-RPC client with this URL.
Spawns a new thread which binds this server to the port it's
configured to accept connections on.
Method called by SAX driver.
Overrides method in XmlRpc to handle fault repsonses.
Method called by SAX driver.
Interface from XML-RPC to the HTTPS transport based on the
Wraps calls to the XML-RPC standard system.* methods (such as
system.multicall
).
Creates a new instance that delegates its multicalls via
the mapping used by the specified
XmlRpcServer
.
A minimal web server that exclusively handles XML-RPC requests.
Creates a web server at the specified port number.
Creates a web server at the specified port number and IP address.
Creates a web server at the specified port number and IP
address.
This is used to write out the Base64 output...
A mostly pass-through implementation wrapping
OutputStreamWriter.write()
which assures that the
XML prolog is written before any other data.
A mostly pass-through implementation wrapping
OutputStreamWriter.write()
which assures that the
XML prolog is written before any other data.
A mostly pass-through implementation wrapping
OutputStreamWriter.write()
which assures that the
XML prolog is written before any other data.
Writes characters like '\r' (0xd) as " ".
Writes an XML-RPC error response to the XML writer.
Writes the XML representation of a supported Java object type.
Writes the XML representation of a supported Java object to the XML writer.
Generate an XML-RPC request from a method name and a parameter vector.
Writes an XML-RPC response to the XML writer.
This abstract base class provides basic capabilities for XML-RPC,
like parsing of parameters or encoding Java objects into XML-RPC
format.
Creates a new instance with the
TypeFactory
set to an instance of the class
named by the
org.apache.xmlrpc.TypeFactory
System
property.
An applet that provides basic XML-RPC client functionality.
A multithreaded, reusable XML-RPC client object.
Construct a XML-RPC client for the URL represented by this String.
Construct a XML-RPC client for the specified hostname and port.
Construct a XML-RPC client with this URL.
Construct a XML-RPC client with this URL and a specified transport
factory.
This is thrown by many of the client classes if an error occured processing
and XML-RPC request or response due to client side processing.
Create an XmlRpcClientException with the given message and
underlying cause exception.
A multithreaded, reusable XML-RPC client object.
Construct a XML-RPC client for the URL represented by this String.
Construct a XML-RPC client for the specified hostname and port.
Construct a XML-RPC client with this URL.
Interface to an XML-RPC request made by a client.
Process an XML-RPC client request into a byte array or directly onto
an OutputStream.
Process an XML-RPC server response from a byte array or an
InputStream into an Object.
Tie together the XmlRequestProcessor and XmlResponseProcessor to handle
a request serially in a single thread.
The minimal context that an XML-RPC request will occur in.
This is thrown by the XmlRpcClient if the remote server reported an error.
This is thrown by the XmlRpcClient if the remote server reported an error.
Creates an instance with the specified message and root cause
exception.
The XML-RPC server uses this interface to call a method of an RPC handler.
Maps from a handler name to a handler object.
A HttpServlet
that acts as a XML-RPC proxy.
Default implementation of an XML-RPC request for both client and server.
Process an InputStream and produce an XmlRpcServerRequest.
Process an Object and produce byte array that represents the specified
encoding of the output as an XML-RPC response.
A multithreaded, reusable XML-RPC server object.
Construct a new XML-RPC server.
Interface to an XML-RPC request made to the server.
FIXME: Leverage the XmlRpc class.
Interface from XML-RPC to an underlying transport, most likely base on HTTP.
Interface from XML-RPC to an underlying transport, most likely base on HTTP.
Tie together the XmlRequestProcessor and XmlResponseProcessor to handle
a request serially in a single thread.
Create a new instance that will use the specified mapping.
A XML writer intended for single-thread usage.
A quick and dirty XML writer.