Package ch.ethz.inf.vs.californium.resources.proxy

Examples of ch.ethz.inf.vs.californium.resources.proxy.ProxyHttpClientResource


  private Server targetServerA;
 
  public ProxyHttpCoAPServer() throws IOException {
    ForwardingResource coap2coap = new ProxyCoapClientResource("coap2coap");
    ForwardingResource coap2http = new ProxyHttpClientResource("coap2http");
   
    // Create CoAP Server on PORT with proxy resources form CoAP to CoAP and HTTP
    targetServerA = new Server(PORT);
    targetServerA.add(coap2coap);
    targetServerA.add(coap2http);
View Full Code Here

TOP

Related Classes of ch.ethz.inf.vs.californium.resources.proxy.ProxyHttpClientResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.