public class ReflectiveXmlRpcHandler extends Object implements XmlRpcHandler
XmlRpcHandler
.Constructor and Description |
---|
ReflectiveXmlRpcHandler(AbstractReflectiveHandlerMapping pMapping,
TypeConverterFactory pTypeConverterFactory,
Class pClass,
RequestProcessorFactoryFactory.RequestProcessorFactory pFactory,
Method[] pMethods)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(XmlRpcRequest pRequest)
Performs the request and returns the result object.
|
public ReflectiveXmlRpcHandler(AbstractReflectiveHandlerMapping pMapping, TypeConverterFactory pTypeConverterFactory, Class pClass, RequestProcessorFactoryFactory.RequestProcessorFactory pFactory, Method[] pMethods)
pMapping
- The mapping, which creates this handler.pClass
- The class, which has been inspected to create
this handler. Typically, this will be the same as
pInstance.getClass(). It is used for diagnostic messages only.
pMethods
- The method, which will be invoked for
executing the handler.public Object execute(XmlRpcRequest pRequest) throws XmlRpcException
XmlRpcHandler
execute
in interface XmlRpcHandler
pRequest
- The request being performed (method name and
parameters.)XmlRpcException
- Performing the request failed.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.