public class OkHttpRequest extends Object implements HttpAdapterRequest
| Constructor and Description |
|---|
OkHttpRequest(okhttp3.OkHttpClient client,
String url,
HttpMethod method,
String requestBody) |
| Modifier and Type | Method and Description |
|---|---|
HttpAdapterResponse |
execute() |
void |
header(String name,
String value) |
public OkHttpRequest(okhttp3.OkHttpClient client,
String url,
HttpMethod method,
String requestBody)
public void header(String name, String value)
header in interface HttpAdapterRequestpublic HttpAdapterResponse execute() throws IOException
execute in interface HttpAdapterRequestIOExceptionCopyright © 2017. All Rights Reserved.