Package io.airlift.http.server.testing
Class TestingHttpServer
java.lang.Object
io.airlift.http.server.HttpServer
io.airlift.http.server.testing.TestingHttpServer
-
Nested Class Summary
Nested classes/interfaces inherited from class io.airlift.http.server.HttpServer
HttpServer.ClientCertificate -
Constructor Summary
ConstructorsConstructorDescriptionTestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, Optional<HttpsConfig> httpsConfig, javax.servlet.Servlet servlet, Map<String, String> initParameters, Set<javax.servlet.Filter> filters, Set<HttpServerBinder.HttpResourceBinding> resources, HttpServer.ClientCertificate clientCertificate) TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String, String> initParameters) -
Method Summary
Methods inherited from class io.airlift.http.server.HttpServer
getDaysUntilCertificateExpiration, getHttpConnectionStats, getHttpsConnectionStats, getLoggerQueueSize, start, stop
-
Constructor Details
-
TestingHttpServer
public TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, javax.servlet.Servlet servlet, Map<String, String> initParameters) throws IOException- Throws:
IOException
-
TestingHttpServer
@Inject public TestingHttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config, Optional<HttpsConfig> httpsConfig, javax.servlet.Servlet servlet, Map<String, String> initParameters, Set<javax.servlet.Filter> filters, Set<HttpServerBinder.HttpResourceBinding> resources, HttpServer.ClientCertificate clientCertificate) throws IOException- Throws:
IOException
-
-
Method Details
-
getBaseUrl
-
getPort
public int getPort() -
getHttpServerInfo
-