Package com.ning.http.client.providers.netty

Examples of com.ning.http.client.providers.netty.NettyAsyncHttpProvider


  private final DiscoveryServiceClient discoveryServiceClient;
  @Inject
  WorkflowClient(DiscoveryServiceClient discoveryServiceClient) {
    this.discoveryServiceClient = discoveryServiceClient;
    AsyncHttpClientConfig.Builder configBuilder = new AsyncHttpClientConfig.Builder();
    this.httpClient = new AsyncHttpClient(new NettyAsyncHttpProvider(configBuilder.build()),
                                               configBuilder.build());
  }
View Full Code Here


    this.eventPublisher = eventPublisher;

    this.httpUri = String.format("http://%s:%d/jsonrpc", xbmc.getHostname(), xbmc.getPort());
    this.wsUri = String.format("ws://%s:%d/jsonrpc", xbmc.getHostname(), xbmc.getWSPort());
   
    this.client = new AsyncHttpClient(new NettyAsyncHttpProvider(createAsyncHttpClientConfig()));
    this.handler = createWebSocketHandler();
  }
View Full Code Here

TOP

Related Classes of com.ning.http.client.providers.netty.NettyAsyncHttpProvider

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.