Package com.securenative.http
Class SecureNativeHTTPClient
- java.lang.Object
-
- com.securenative.http.SecureNativeHTTPClient
-
- All Implemented Interfaces:
HttpClient
public class SecureNativeHTTPClient extends java.lang.Object implements HttpClient
-
-
Field Summary
Fields Modifier and Type Field Description static okhttp3.MediaTypeJSON
-
Constructor Summary
Constructors Constructor Description SecureNativeHTTPClient(SecureNativeOptions options)
-
Method Summary
Modifier and Type Method Description HttpResponsepost(java.lang.String path, java.lang.String json)
-
-
-
Constructor Detail
-
SecureNativeHTTPClient
public SecureNativeHTTPClient(SecureNativeOptions options)
-
-
Method Detail
-
post
public HttpResponse post(java.lang.String path, java.lang.String json) throws java.io.IOException
- Specified by:
postin interfaceHttpClient- Throws:
java.io.IOException
-
-