Modifier and Type | Method and Description |
---|---|
Object |
XmlRpcHandler.execute(XmlRpcRequest pRequest)
Performs the request and returns the result object.
|
Modifier and Type | Class and Description |
---|---|
static class |
TimingOutCallback.TimeoutException
This exception is thrown, if the request times out.
|
class |
XmlRpcClientException
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.
|
class |
XmlRpcHttpTransportException
Exception thrown if the HTTP status code sent by the server
indicates that the request could not be processed.
|
Modifier and Type | Method and Description |
---|---|
Object |
XmlRpcClient.execute(String pMethodName,
List pParams)
Performs a request with the clients default configuration.
|
Object |
XmlRpcClient.execute(String pMethodName,
Object[] pParams)
Performs a request with the clients default configuration.
|
Object |
XmlRpcClient.execute(XmlRpcClientConfig pConfig,
String pMethodName,
List pParams)
Performs a request with the given configuration.
|
Object |
XmlRpcClient.execute(XmlRpcClientConfig pConfig,
String pMethodName,
Object[] pParams)
Performs a request with the given configuration.
|
Object |
XmlRpcClient.execute(XmlRpcRequest pRequest)
Performs a request with the clients default configuration.
|
Object |
XmlRpcClientWorker.execute(XmlRpcRequest pRequest)
Performs a synchronous request.
|
void |
XmlRpcClient.executeAsync(String pMethodName,
List pParams,
AsyncCallback pCallback)
Performs an asynchronous request with the clients default configuration.
|
void |
XmlRpcClient.executeAsync(String pMethodName,
Object[] pParams,
AsyncCallback pCallback)
Performs an asynchronous request with the clients default configuration.
|
void |
XmlRpcClient.executeAsync(XmlRpcClientConfig pConfig,
String pMethodName,
List pParams,
AsyncCallback pCallback)
Performs an asynchronous request with the given configuration.
|
void |
XmlRpcClient.executeAsync(XmlRpcClientConfig pConfig,
String pMethodName,
Object[] pParams,
AsyncCallback pCallback)
Performs an asynchronous request with the given configuration.
|
void |
XmlRpcClient.executeAsync(XmlRpcRequest pRequest,
AsyncCallback pCallback)
Performs a request with the clients default configuration.
|
protected InputStream |
XmlRpcCommonsTransport.getInputStream() |
protected InputStream |
XmlRpcSunHttpTransport.getInputStream() |
protected InputStream |
XmlRpcLiteHttpTransport.getInputStream() |
protected abstract InputStream |
XmlRpcStreamTransport.getInputStream()
Returns the input stream, from which the response is
being read.
|
protected InputStream |
XmlRpcLocalStreamTransport.getInputStream() |
protected XmlRpcStreamTransport.ReqWriter |
XmlRpcStreamTransport.newReqWriter(XmlRpcRequest pRequest)
Creates a new instance of
XmlRpcStreamTransport.ReqWriter . |
protected XmlRpcStreamTransport.ReqWriter |
XmlRpcHttpTransport.newReqWriter(XmlRpcRequest pRequest) |
protected XmlRpcStreamTransport.ReqWriter |
XmlRpcLocalStreamTransport.newReqWriter(XmlRpcRequest pRequest) |
protected XMLReader |
XmlRpcStreamTransport.newXMLReader() |
protected Object |
XmlRpcStreamTransport.readResponse(XmlRpcStreamRequestConfig pConfig,
InputStream pStream) |
protected void |
XmlRpcCommonsTransport.resetClientForRedirect() |
Object |
XmlRpcLocalTransport.sendRequest(XmlRpcRequest pRequest) |
Object |
XmlRpcTransport.sendRequest(XmlRpcRequest pRequest)
Send an XML-RPC message.
|
Object |
XmlRpcSunHttpTransport.sendRequest(XmlRpcRequest pRequest) |
Object |
XmlRpcLiteHttpTransport.sendRequest(XmlRpcRequest pRequest) |
Object |
XmlRpcStreamTransport.sendRequest(XmlRpcRequest pRequest) |
Object |
XmlRpcHttpTransport.sendRequest(XmlRpcRequest pRequest) |
void |
XmlRpcStreamTransport.ReqWriter.write(OutputStream pStream)
Writes the requests data to the given output stream.
|
void |
XmlRpcStreamTransport.ReqWriterImpl.write(OutputStream pStream)
Writes the requests uncompressed XML data to the given
output stream.
|
void |
XmlRpcStreamTransport.GzipReqWriter.write(OutputStream pStream) |
protected void |
XmlRpcCommonsTransport.writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
protected void |
XmlRpcSunHttpTransport.writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
protected void |
XmlRpcLiteHttpTransport.writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
protected abstract void |
XmlRpcStreamTransport.writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
protected void |
XmlRpcLocalStreamTransport.writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
Modifier and Type | Class and Description |
---|---|
class |
XmlRpcExtensionException
This exception is thrown, if an attempt to use extensions
is made, but extensions aren't explicitly enabled.
|
class |
XmlRpcInvocationException
This exception is thrown, if the server catches an exception, which
is thrown by the handler.
|
class |
XmlRpcLoadException
This exception is thrown, if the clients or servers maximum
number of concurrent threads is exceeded.
|
class |
XmlRpcNotAuthorizedException
This exception must be thrown, if the user isn't authenticated.
|
Modifier and Type | Method and Description |
---|---|
Object |
XmlRpcWorker.execute(XmlRpcRequest pRequest)
Performs a synchronous request.
|
Object |
XmlRpcRequestProcessor.execute(XmlRpcRequest pRequest)
Processes the given request and returns a
result object.
|
void |
XmlRpcStreamRequestProcessor.execute(XmlRpcStreamRequestConfig pConfig,
ServerStreamConnection pConnection)
Reads an XML-RPC request from the connection
object and processes the request, writing the
result to the same connection object.
|
Modifier and Type | Method and Description |
---|---|
Object |
JaxbParser.getResult() |
Modifier and Type | Method and Description |
---|---|
static void |
XmlRpcSystemImpl.addSystemHandler(PropertyHandlerMapping pMapping)
Adds an instance of this class to the given handler
mapping.
|
String[] |
XmlRpcListableHandlerMapping.getListMethods()
This method implements the introspection method
system.listMethods , which is specified
as follows:
|
String |
ReflectiveXmlRpcMetaDataHandler.getMethodHelp() |
String |
XmlRpcMetaDataHandler.getMethodHelp()
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodHelp(String) . |
String |
XmlRpcListableHandlerMapping.getMethodHelp(String pHandlerName)
This method implements the introspection method
system.methodSignature , which is specified
as follows:
|
String[][] |
XmlRpcListableHandlerMapping.getMethodSignature(String pHandlerName)
This method implements the introspection method
system.methodSignature , which is specified
as follows:
|
String[][] |
ReflectiveXmlRpcMetaDataHandler.getSignatures() |
String[][] |
XmlRpcMetaDataHandler.getSignatures()
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodSignature(String) . |
String[] |
XmlRpcSystemImpl.listMethods()
Implements the "system.listMethods" call.
|
String |
XmlRpcSystemImpl.methodHelp(String methodName)
Implements the "system.methodHelp" call.
|
String[][] |
XmlRpcSystemImpl.methodSignature(String methodName)
Implements the "system.methodSignature" call.
|
static Object |
Util.newInstance(Class pClass)
Creates a new instance of
pClass . |
Modifier and Type | Method and Description |
---|---|
Object |
TypeParser.getResult()
Returns the parsed object.
|
Object |
TypeParserImpl.getResult() |
Object |
SerializableParser.getResult() |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
XmlWriterFactory.getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream)
Creates a new instance of
ContentHandler ,
writing to the given OutputStream . |
ContentHandler |
BaseXmlWriterFactory.getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream) |
ContentHandler |
DefaultXMLWriterFactory.getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream) |
Modifier and Type | Class and Description |
---|---|
class |
XmlRpcNoSuchHandlerException
This exception is thrown, if an unknown handler is called.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyHandlerMapping.addHandler(String pKey,
Class pClass)
Adds handlers for the given object to the mapping.
|
Object |
ReflectiveXmlRpcHandler.execute(XmlRpcRequest pRequest) |
Object |
XmlRpcLocalStreamServer.execute(XmlRpcRequest pRequest) |
Object |
XmlRpcServerWorker.execute(XmlRpcRequest pRequest) |
Object |
XmlRpcServer.execute(XmlRpcRequest pRequest)
Performs the given request.
|
void |
XmlRpcStreamServer.execute(XmlRpcStreamRequestConfig pConfig,
ServerStreamConnection pConnection)
Returns, whether the
/** Processes a "connection".
|
XmlRpcHandler |
XmlRpcHandlerMapping.getHandler(String handlerName)
Return the handler for the specified handler name.
|
XmlRpcHandler |
AbstractReflectiveHandlerMapping.getHandler(String pHandlerName)
Returns the
XmlRpcHandler with the given name. |
String[] |
AbstractReflectiveHandlerMapping.getListMethods() |
String |
AbstractReflectiveHandlerMapping.getMethodHelp(String pHandlerName) |
String[][] |
AbstractReflectiveHandlerMapping.getMethodSignature(String pHandlerName) |
protected XmlRpcRequest |
XmlRpcStreamServer.getRequest(XmlRpcStreamRequestConfig pConfig,
InputStream pStream) |
protected Object |
RequestProcessorFactoryFactory.StatelessProcessorFactoryFactory.getRequestProcessor(Class pClass)
Subclasses may override this method for class specific configuration.
|
protected Object |
RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory.getRequestProcessor(Class pClass,
XmlRpcRequest pRequest)
Subclasses may override this method for request specific configuration.
|
Object |
RequestProcessorFactoryFactory.RequestProcessorFactory.getRequestProcessor(XmlRpcRequest pRequest)
This method is invoked for any request in order to create and
configure the request processor.
|
RequestProcessorFactoryFactory.RequestProcessorFactory |
RequestProcessorFactoryFactory.getRequestProcessorFactory(Class pClass)
This method is invoked at startup.
|
RequestProcessorFactoryFactory.RequestProcessorFactory |
RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory.getRequestProcessorFactory(Class pClass) |
RequestProcessorFactoryFactory.RequestProcessorFactory |
RequestProcessorFactoryFactory.StatelessProcessorFactoryFactory.getRequestProcessorFactory(Class pClass) |
protected XmlRpcWriter |
XmlRpcStreamServer.getXmlRpcWriter(XmlRpcStreamRequestConfig pConfig,
OutputStream pStream) |
boolean |
AbstractReflectiveHandlerMapping.AuthenticationHandler.isAuthorized(XmlRpcRequest pRequest)
Returns, whether the user is authenticated and
authorized to perform the request.
|
void |
PropertyHandlerMapping.load(ClassLoader pClassLoader,
Map pMap)
Reads handler definitions from an existing Map.
|
void |
PropertyHandlerMapping.load(ClassLoader pClassLoader,
String pResource)
Reads handler definitions from a resource file.
|
void |
PropertyHandlerMapping.load(ClassLoader pClassLoader,
URL pURL)
Reads handler definitions from a property file.
|
protected Class |
PropertyHandlerMapping.newHandlerClass(ClassLoader pClassLoader,
String pClassName) |
protected XmlRpcHandler |
AbstractReflectiveHandlerMapping.newXmlRpcHandler(Class pClass,
Method[] pMethods)
Creates a new instance of
XmlRpcHandler . |
protected void |
AbstractReflectiveHandlerMapping.registerPublicMethods(String pKey,
Class pType)
Searches for methods in the given class.
|
protected void |
XmlRpcStreamServer.writeError(XmlRpcStreamRequestConfig pConfig,
OutputStream pStream,
Throwable pError) |
protected void |
XmlRpcStreamServer.writeResponse(XmlRpcStreamRequestConfig pConfig,
OutputStream pStream,
Object pResult) |
Modifier and Type | Method and Description |
---|---|
static XMLReader |
SAXParsers.newXMLReader()
Creates a new instance of
XMLReader . |
Modifier and Type | Method and Description |
---|---|
protected PropertyHandlerMapping |
XmlRpcServlet.newPropertyHandlerMapping(URL url)
Creates a new instance of
PropertyHandlerMapping by
loading the property file from the given URL. |
protected XmlRpcHandlerMapping |
XmlRpcServlet.newXmlRpcHandlerMapping()
Creates a new handler mapping.
|
protected XmlRpcServletServer |
XmlRpcServlet.newXmlRpcServer(javax.servlet.ServletConfig pConfig)
Creates a new instance of
XmlRpcServer ,
which is being used to process the requests. |
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.