public class ProxyHttpServer extends Object
| Constructor and Description |
|---|
ProxyHttpServer(int httpPort)
Instantiates a new proxy endpoint.
|
ProxyHttpServer(Server server)
Instantiates a new proxy endpoint from the default ports.
|
| Modifier and Type | Method and Description |
|---|---|
ProxyCoAPResolver |
getProxyCoapResolver() |
void |
handleRequest(Request request) |
protected void |
responseProduced(Request request,
Response response) |
void |
setProxyCoapResolver(ProxyCoAPResolver proxyCoapResolver) |
public ProxyHttpServer(Server server) throws IOException
SocketException - the socket exceptionIOExceptionpublic ProxyHttpServer(int httpPort)
throws IOException
httpPort - the http portSocketException - the socket exceptionIOExceptionpublic void handleRequest(Request request)
public ProxyCoAPResolver getProxyCoapResolver()
public void setProxyCoapResolver(ProxyCoAPResolver proxyCoapResolver)
Copyright © 2014 Institute for Pervasive Computing, ETH Zurich. All rights reserved.