public class ProxyServer extends BasicServer<ProxyServer.Builder>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyServer.Builder |
Server.ProxyBuilder<T extends Server.ProxyBuilder,S extends Server>, Server.ServerListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROXY_CONN_ALIVE |
static java.lang.String |
PROXY_CONN_CLIENT |
| Modifier and Type | Method and Description |
|---|---|
static ProxyServer.Builder |
newBuilder() |
protected HttpRequestHandler |
requestHandler()
Assigns
HttpRequestHandler instance. |
void |
shutdown()
Quit the server.
|
void |
startup()
Start the server.
|
getInetAddress, getPort, isRunningpublic static final java.lang.String PROXY_CONN_CLIENT
public static final java.lang.String PROXY_CONN_ALIVE
public static ProxyServer.Builder newBuilder()
protected HttpRequestHandler requestHandler()
BasicServerHttpRequestHandler instance.requestHandler in class BasicServer<ProxyServer.Builder>public void startup()
Serverstartup in interface Serverstartup in class BasicServer<ProxyServer.Builder>public void shutdown()
BasicServershutdown in interface Servershutdown in class BasicServer<ProxyServer.Builder>