com.jdroid.java.http.okhttp.ExecuteRequestCommand.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-java-http-okhttp Show documentation
Show all versions of jdroid-java-http-okhttp Show documentation
OKHttp Http Layer Implementation for Jdroid
The newest version!
package com.jdroid.java.http.okhttp
import java.io.IOException
class ExecuteRequestCommand : OkHttpCommand() {
@Throws(IOException::class)
override fun doExecute(okHttpService: OkHttpService): OkHttpResponseWrapper? {
val response = okHttpService.client.newCall(okHttpService.request).execute()
return OkHttpResponseWrapper(response)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy