Adding the ability to get/set the httpClient for jersey2

This commit is contained in:
Jason Quinn 2016-06-10 11:56:05 +01:00
parent bd705a49d6
commit df60cd2d8b

View File

@ -98,6 +98,15 @@ public class ApiClient {
return json; return json;
} }
public Client getHttpClient() {
return httpClient;
}
public ApiClient setHttpClient(Client httpClient) {
this.httpClient = httpClient;
return this;
}
public String getBasePath() { public String getBasePath() {
return basePath; return basePath;
} }