public class TestingHttpServer extends HttpServer
| Constructor and Description |
|---|
TestingHttpServer(HttpServerInfo httpServerInfo,
NodeInfo nodeInfo,
HttpServerConfig config,
javax.servlet.Servlet servlet,
Map<String,String> initParameters) |
TestingHttpServer(HttpServerInfo httpServerInfo,
NodeInfo nodeInfo,
HttpServerConfig config,
javax.servlet.Servlet servlet,
Map<String,String> initParameters,
Set<javax.servlet.Filter> filters) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.server.handler.RequestLogHandler |
createLogHandler(HttpServerConfig config,
TraceTokenManager tokenManager,
EventClient eventClient) |
URI |
getBaseUrl() |
int |
getPort() |
start, stoppublic TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String,String> initParameters) throws IOException
IOException@Inject public TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String,String> initParameters, Set<javax.servlet.Filter> filters) throws IOException
IOExceptionpublic org.eclipse.jetty.server.handler.RequestLogHandler createLogHandler(HttpServerConfig config, TraceTokenManager tokenManager, EventClient eventClient) throws IOException
createLogHandler in class HttpServerIOExceptionpublic URI getBaseUrl()
public int getPort()
Copyright © 2010-2013 Airlift. All Rights Reserved.