org.apache.xmlrpc.server.XmlRpcLocalStreamServer Maven / Gradle / Ivy
package org.apache.xmlrpc.server;
import org.apache.xmlrpc.XmlRpcException;
import org.apache.xmlrpc.XmlRpcRequest;
import org.apache.xmlrpc.common.XmlRpcRequestProcessor;
import org.apache.xmlrpc.common.XmlRpcRequestProcessorFactory;
/** Server part of a local stream transport.
*/
public class XmlRpcLocalStreamServer extends XmlRpcStreamServer {
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
XmlRpcRequestProcessor server = ((XmlRpcRequestProcessorFactory) pRequest.getConfig()).getXmlRpcServer();
return server.execute(pRequest);
}
}