@Test public void setSocketTimeoutShouldSetHttpClientRequestParams() throws IOException { HttpParams params = mock(HttpParams.class); when(request.getParams()).thenReturn(params); toTest.setSocketTimeout(123); verify(params).setIntParameter(CoreConnectionPNames.SO_TIMEOUT, 123); }
public void setSocketTimeout(int timeout) throws IOException { HttpConnectionParams.setSoTimeout(request.getParams(), timeout); }
HttpClientHttpChannel implements HttpChannel { public void setSocketTimeout(int timeout) throws IOException { HttpConnectionParams.setSoTimeout(request.getParams(), timeout); } }
HttpClientHttpChannel implements HttpChannel { public void setSocketTimeout(int timeout) throws IOException { HttpConnectionParams.setSoTimeout(request.getParams(), timeout); } HttpClientHttpChannel(HttpClient client, HttpUriRequest request); }
HttpClientHttpChannel implements HttpChannel { public void setSocketTimeout(int timeout) throws IOException { HttpConnectionParams.setSoTimeout(request.getParams(), timeout); } HttpClientHttpChannel(HttpClient client, HttpUriRequest request); void setConnectionTimeout(int timeout); void setSocketTimeout(int timeout); void setHeader(String name, String value); void addHeader(String name, String value); void setContentType(String value); void setAccept(String value); void writeEntityWith(HttpEntityWriter httpEntityWriter); Response send(); }
HttpClientHttpChannel implements HttpChannel { public void setSocketTimeout(int timeout) throws IOException { HttpConnectionParams.setSoTimeout(request.getParams(), timeout); } HttpClientHttpChannel(HttpClient client, HttpUriRequest request); void setConnectionTimeout(int timeout); void setSocketTimeout(int timeout); void setHeader(String name, String value); void addHeader(String name, String value); void setContentType(String value); void setAccept(String value); void writeEntityWith(HttpEntityWriter httpEntityWriter); Response send();  }