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, removeHandler
public 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 loggingIOException
public RpcLoggingInternalServer(PrintStream out) throws IOException
out
- output stream for loggingIOException
protected Object handleCall(SampXmlRpcHandler handler, String methodName, List paramList, HttpServer.Request request) throws Exception
InternalServer
handleCall
in class InternalServer
handler
- 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 originatedException
Copyright © 2008–2024. All rights reserved.