Skip to content

Commit dc83091

Browse files
committed
Make configureHttpClient protected to allow users to override configuration if needed
1 parent 5294920 commit dc83091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public WatsonService(String name) {
7171
*
7272
* @return the okhttp client
7373
*/
74-
private OkHttpClient configureHttpClient() {
74+
protected OkHttpClient configureHttpClient() {
7575
final OkHttpClient client = new OkHttpClient();
7676
final CookieManager cookieManager = new CookieManager();
7777
cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ALL);

0 commit comments

Comments
 (0)