public class SimpletonServer extends Object implements org.simpleframework.http.core.Container
| Modifier and Type | Class and Description |
|---|---|
class |
SimpletonServer.TaskMonitor |
| Modifier and Type | Field and Description |
|---|---|
protected Stage<Task> |
dispatchStage |
| Constructor and Description |
|---|
SimpletonServer(HttpManager httpManager,
Http11ResponseHandler responseHandler,
int capacity,
int numThreads) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCertificatesDir() |
Integer |
getHttpPort() |
int |
getMaxProcessTimeMillis() |
int |
getMaxQueueTimeMillis() |
int |
getSslPort() |
void |
handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response) |
protected void |
initHttp(org.simpleframework.transport.connect.Connection connection,
int port) |
void |
respondError(SimpleMiltonRequest req,
SimpleMiltonResponse resp,
String reason) |
void |
setCertificatesDir(String certificatesDir) |
void |
setHttpPort(Integer httpPort) |
void |
setMaxProcessTimeMillis(int maxProcessTimeMillis) |
void |
setMaxQueueTimeMillis(int maxQueueTimeMillis) |
void |
setSslPort(int sslPort) |
void |
start() |
void |
stop() |
public SimpletonServer(HttpManager httpManager, Http11ResponseHandler responseHandler, int capacity, int numThreads)
public void start()
protected void initHttp(org.simpleframework.transport.connect.Connection connection,
int port)
public void stop()
public void handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
handle in interface org.simpleframework.http.core.Containerpublic void respondError(SimpleMiltonRequest req, SimpleMiltonResponse resp, String reason)
public Integer getHttpPort()
public int getSslPort()
public void setHttpPort(Integer httpPort)
public void setSslPort(int sslPort)
public String getCertificatesDir()
public void setCertificatesDir(String certificatesDir)
public int getMaxProcessTimeMillis()
public void setMaxProcessTimeMillis(int maxProcessTimeMillis)
public int getMaxQueueTimeMillis()
public void setMaxQueueTimeMillis(int maxQueueTimeMillis)
Copyright © 2021 McEvoy Software Ltd. All rights reserved.