org.apache.accumulo.server.util
public class EmbeddedWebServer extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
EmbeddedWebServer.TLSServerSocketFactory
Restrict the allowed protocols to TLS on the ServerSocket
|
protected static class |
EmbeddedWebServer.TLSSocketConnector
Wrap the SocketConnector so the ServerSocket can be manipulated
|
Constructor and Description |
---|
EmbeddedWebServer() |
EmbeddedWebServer(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
addServlet(Class<? extends javax.servlet.http.HttpServlet> klass,
String where) |
int |
getPort() |
boolean |
isUsingSsl() |
void |
start() |
void |
stop() |
public EmbeddedWebServer()
public EmbeddedWebServer(String host, int port)
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.