public class XmlLoggingInternalServer extends InternalServer
Constructor and Description |
---|
XmlLoggingInternalServer(HttpServer server,
String path,
PrintStream out)
Constructor based on a given HTTP server.
|
XmlLoggingInternalServer(PrintStream out)
Constructs a server running with default characteristics
on any free port.
|
Modifier and Type | Method and Description |
---|---|
protected HttpServer.Response |
getXmlRpcResponse(HttpServer.Request request)
Returns the HTTP response object given an incoming XML-RPC POST request.
|
addHandler, getEndpoint, getFaultBytes, getHttpServer, getResultBytes, handleCall, removeHandler
public XmlLoggingInternalServer(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 logggingIOException
public XmlLoggingInternalServer(PrintStream out) throws IOException
out
- output stream for logggingIOException
protected HttpServer.Response getXmlRpcResponse(HttpServer.Request request)
InternalServer
getXmlRpcResponse
in class InternalServer
request
- POSTed HTTP requestCopyright © 2008–2024. All rights reserved.