public class

RequestHelper

extends Object
java.lang.Object
   ↳ com.pdftron.actions.RequestHelper

Summary

Public Constructors
RequestHelper()
Public Methods
static ResponsePair get(OkHttpClient client, String url, HashMap<String, String> params, HashMap<String, String> headers, File outputFile)
static ResponsePair post(OkHttpClient client, String url, RequestBody body)
static ResponsePair post(OkHttpClient client, String url, RequestBody body, HashMap<String, String> headers)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RequestHelper ()

Public Methods

public static ResponsePair get (OkHttpClient client, String url, HashMap<String, String> params, HashMap<String, String> headers, File outputFile)

Throws
IOException
NullPointerException

public static ResponsePair post (OkHttpClient client, String url, RequestBody body)

Throws
IOException

public static ResponsePair post (OkHttpClient client, String url, RequestBody body, HashMap<String, String> headers)

Throws
IOException