Toggle navigation
Home
com.ning.http.client.AsyncHttpClient to com.squareup.okhttp.OkHttpClient
No. of Instances - 8
No. of Commits - 4
No. of Projects - {'graylog2-server'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Other
"http://" + hostAndPort.getHostText() + ":9200/_nodes"
to
request
Cascading Type Change (Different)
ListenableFuture<Response>
to
Response
Future<Response>
to
Response
Add or Remove Method invocation
httpClient.prepareGet(request)
to
httpClient.newCall(request)
httpclient.prepareDelete(request).setHeader("Content-Type","application/json")
to
httpclient.newCall(request)
uriBuilder.build()
to
r
Rename Variable
asyncHttpClient
to
httpClient
asyncHttpClient
to
httpClient