public class ClassicTestServer extends Object
Constructor and Description |
---|
ClassicTestServer() |
ClassicTestServer(SocketConfig socketConfig) |
ClassicTestServer(SSLContext sslContext,
SocketConfig socketConfig) |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getInetAddress() |
int |
getPort() |
void |
registerHandler(String pattern,
HttpRequestHandler handler) |
void |
registerHandlerVirtual(String hostname,
String pattern,
HttpRequestHandler handler) |
void |
shutdown(CloseMode closeMode) |
void |
start() |
void |
start(Http1Config http1Config,
HttpProcessor httpProcessor,
Decorator<HttpServerRequestHandler> handlerDecorator) |
public ClassicTestServer(SSLContext sslContext, SocketConfig socketConfig)
public ClassicTestServer(SocketConfig socketConfig)
public ClassicTestServer()
public void registerHandler(String pattern, HttpRequestHandler handler)
public void registerHandlerVirtual(String hostname, String pattern, HttpRequestHandler handler)
public int getPort()
public InetAddress getInetAddress()
public void start(Http1Config http1Config, HttpProcessor httpProcessor, Decorator<HttpServerRequestHandler> handlerDecorator) throws IOException
IOException
public void start() throws IOException
IOException
public void shutdown(CloseMode closeMode)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.