Package dev.vality.http.client
Interface HttpClient<C,R extends org.apache.http.HttpResponse>
- All Known Implementing Classes:
SimpleHttpClient,SyncAsyncHttpClient
public interface HttpClient<C,R extends org.apache.http.HttpResponse>
-
Method Summary
Modifier and Type Method Description <T> Response<T>delete(String methodName, org.apache.http.client.methods.HttpDelete httpDelete, Function<R,T> handler)<T> Response<T>delete(String methodName, org.apache.http.client.methods.HttpDelete httpDelete, Function<R,T> handler, C client)<T> Response<T>get(String methodName, org.apache.http.client.methods.HttpGet httpGet, Function<R,T> handler)<T> Response<T>get(String methodName, org.apache.http.client.methods.HttpGet httpGet, Function<R,T> handler, C client)<T> Response<T>post(String methodName, org.apache.http.client.methods.HttpPost httpPost, Function<R,T> handler)<T> Response<T>post(String methodName, org.apache.http.client.methods.HttpPost httpPost, Function<R,T> handler, C client)<T> Response<T>put(String methodName, org.apache.http.client.methods.HttpPut httpPut, Function<R,T> handler)<T> Response<T>put(String methodName, org.apache.http.client.methods.HttpPut httpPut, Function<R,T> handler, C client)
-
Method Details
-
post
-
post
-
get
-
get
-
delete
-
delete
-
put
-
put
-