HttpClient client = HttpConnectionUtil.getClient(connectionTimeout);
AcknowledgeMessage result = new AcknowledgeMessage(); HttpClient client = HttpConnectionUtil.getClient(); log.warn("Service returned an error"); if (log.isDebugEnabled()) { HttpConnectionUtil.handleError(response);
HttpClient client = HttpConnectionUtil.getClient();
/** * Returns a client with all our selected properties / params. * * @return client */ public static final HttpClient getClient() { return getClient(connectionTimeout); }
/** * Returns a client with all our selected properties / params. * * @return client */ public static final HttpClient getClient() { return getClient(connectionTimeout); }
/** * Create new remoting client for the given url and given timeout. * * @param url * URL to connect to * @param timeout * Timeout for one request in milliseconds */ public RemotingClient(String url, int timeout) { client = HttpConnectionUtil.getClient(timeout); this.url = url; log.debug("RemotingClient created - url: {} timeout: {}", url, timeout); }
/** * Create new remoting client for the given url and given timeout. * * @param url * URL to connect to * @param timeout * Timeout for one request in milliseconds */ public RemotingClient(String url, int timeout) { client = HttpConnectionUtil.getClient(timeout); this.url = url; log.debug("RemotingClient created - url: {} timeout: {}", url, timeout); }