Example #1
0
 @Override
 protected void configureClient(ClientConfig clientConfig) {
   clientConfig
       .connector(new GrizzlyConnector(clientConfig))
       .property(ClientProperties.READ_TIMEOUT, 1000);
 }
 @Override
 protected void configureClient(ClientConfig config) {
   config.connector(new ApacheConnector(config));
 }