@Component public class HttpClientProvider extends Object
| Constructor and Description |
|---|
HttpClientProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
getClientFor(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
Returns the instance of HttpClient, registering the required informations from the TestAutomationServer instance
first if needed
|
org.springframework.http.client.ClientHttpRequestFactory |
getRequestFactoryFor(org.squashtest.tm.domain.testautomation.TestAutomationServer server) |
public org.apache.http.impl.client.CloseableHttpClient getClientFor(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
server - public org.springframework.http.client.ClientHttpRequestFactory getRequestFactoryFor(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.