public class SimpleServerWrapper extends Object implements HttpServerWrapper, org.simpleframework.http.core.Container
Constructor and Description |
---|
SimpleServerWrapper(Handler handler) |
SimpleServerWrapper(Handler handler,
int count,
int select) |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response) |
void |
start(int port,
SSLContext context,
boolean authReq) |
void |
stop() |
public SimpleServerWrapper(Handler handler)
public SimpleServerWrapper(Handler handler, int count, int select)
public void start(int port, SSLContext context, boolean authReq) throws IOException
start
in interface HttpServerWrapper
IOException
public void handle(org.simpleframework.http.Request request, org.simpleframework.http.Response response)
handle
in interface org.simpleframework.http.core.Container
public void stop() throws IOException
stop
in interface HttpServerWrapper
IOException
Copyright © 2014. All Rights Reserved.