Toggle navigation
Home
java.lang.String to com.squareup.okhttp.HttpUrl
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'keywhiz'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> External
Mapping:
Other
null
to
url
Add or Remove Method invocation
new Request.Builder().url(path).put(url)
to
new Request.Builder().url(url).put(RequestBody.create(MediaType.parse("text/plain"),""))
new Request.Builder().url(path).get()
to
new Request.Builder().url(url).get()
new Request.Builder().url(path).delete()
to
new Request.Builder().url(url).delete()
new Request.Builder().url(path).post(body).addHeader(HttpHeaders.CONTENT_TYPE,JSON.toString())
to
new Request.Builder().url(url).post(body).addHeader(HttpHeaders.CONTENT_TYPE,JSON.toString())
Rename Variable
path
to
url
path
to
url
path
to
url
path
to
url