public class RpcLoggingInternalServer extends InternalServer
| Constructor and Description |
|---|
RpcLoggingInternalServer(HttpServer server,
String path,
PrintStream out)
Constructor based on a given HTTP server.
|
RpcLoggingInternalServer(PrintStream out)
Constructs a server running with default characteristics
on any free port.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
handleCall(SampXmlRpcHandler handler,
String methodName,
List paramList,
HttpServer.Request request)
Actually passes the XML-RPC method name and parameter list to one
of the registered servers for processing.
|
addHandler, getEndpoint, getFaultBytes, getHttpServer, getResultBytes, getXmlRpcResponse, removeHandlerpublic RpcLoggingInternalServer(HttpServer server, String path, PrintStream out) throws IOException
server - server for processing HTTP requestspath - path part of server endpoint (starts with "/");out - output stream for loggingIOExceptionpublic RpcLoggingInternalServer(PrintStream out) throws IOException
out - output stream for loggingIOExceptionprotected Object handleCall(SampXmlRpcHandler handler, String methodName, List paramList, HttpServer.Request request) throws Exception
InternalServerhandleCall in class InternalServerhandler - handler which has declared it can handle the
named methodmethodName - XML-RPC method nameparamList - list of parameters to XML-RPC callrequest - HTTP request from which this call originatedExceptionCopyright © 2008–2024. All rights reserved.