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

Examples of ch.ethz.inf.vs.californium.proxy.ProxyHttpServer


    targetServerA.add(coap2coap);
    targetServerA.add(coap2http);
    targetServerA.add(new TargetResource("target"));
    targetServerA.start();
   
    ProxyHttpServer httpServer = new ProxyHttpServer(8080);
    httpServer.setProxyCoapResolver(new DirectProxyCoAPResolver(coap2coap));
   
    System.out.println("CoAP resource \"target\" available over HTTP at: http://localhost:8080/proxy/coap://localhost:PORT/target");
  }
View Full Code Here

TOP

Related Classes of ch.ethz.inf.vs.californium.proxy.ProxyHttpServer

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.