public class TestingHttpServer extends HttpServer
| Constructor and Description |
|---|
TestingHttpServer(HttpServerInfo httpServerInfo,
NodeInfo nodeInfo,
HttpServerConfig config,
javax.servlet.Servlet servlet,
Map<String,javax.servlet.Servlet> servlets,
Map<String,String> initParameters,
Optional<Authorizer> authorizer) |
TestingHttpServer(HttpServerInfo httpServerInfo,
NodeInfo nodeInfo,
HttpServerConfig config,
javax.servlet.Servlet servlet,
Map<String,javax.servlet.Servlet> servlets,
Map<String,String> initParameters,
Set<javax.servlet.Filter> filters,
Set<HttpServerBinder.HttpResourceBinding> resources,
Optional<Authorizer> authorizer) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getBaseUrl() |
HttpServerInfo |
getHttpServerInfo() |
int |
getPort() |
getDaysUntilCertificateExpiration, getHttpConnectionStats, getHttpsConnectionStats, getLoggerQueueSize, start, stoppublic TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String,javax.servlet.Servlet> servlets, Map<String,String> initParameters, Optional<Authorizer> authorizer) throws IOException
IOException@Inject public TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String,javax.servlet.Servlet> servlets, Map<String,String> initParameters, Set<javax.servlet.Filter> filters, Set<HttpServerBinder.HttpResourceBinding> resources, Optional<Authorizer> authorizer) throws IOException
IOExceptionpublic URI getBaseUrl()
public int getPort()
public HttpServerInfo getHttpServerInfo()
Copyright © 2010–2024 Airlift. All rights reserved.