public class ProxyHttpServer
extends java.lang.Object
Constructor and Description |
---|
ProxyHttpServer(CoapServer server)
Instantiates a new proxy endpoint from the default ports.
|
ProxyHttpServer(int httpPort)
Instantiates a new proxy endpoint.
|
Modifier and Type | Method and Description |
---|---|
ProxyCoapResolver |
getProxyCoapResolver() |
void |
handleRequest(Request request) |
void |
setProxyCoapResolver(ProxyCoapResolver proxyCoapResolver) |
public ProxyHttpServer(CoapServer server) throws java.io.IOException
java.net.SocketException
- the socket exceptionjava.io.IOException
public ProxyHttpServer(int httpPort) throws java.io.IOException
httpPort
- the http portjava.io.IOException
- the socket exceptionpublic void handleRequest(Request request)
public ProxyCoapResolver getProxyCoapResolver()
public void setProxyCoapResolver(ProxyCoapResolver proxyCoapResolver)