Package com.vk.api.sdk.client
Interface TransportClient
-
- All Known Implementing Classes:
HttpTransportClient
public interface TransportClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientResponsedelete(java.lang.String url)ClientResponsedelete(java.lang.String url, java.lang.String body)ClientResponsedelete(java.lang.String url, java.lang.String body, java.lang.String contentType)ClientResponsedelete(java.lang.String url, java.lang.String body, org.apache.http.Header[] headers)ClientResponseget(java.lang.String url)ClientResponseget(java.lang.String url, java.lang.String contentType)ClientResponseget(java.lang.String url, org.apache.http.Header[] headers)ClientResponsepost(java.lang.String url)ClientResponsepost(java.lang.String url, java.lang.String body)ClientResponsepost(java.lang.String url, java.lang.String fileName, java.io.File file)ClientResponsepost(java.lang.String url, java.lang.String body, java.lang.String contentType)ClientResponsepost(java.lang.String url, java.lang.String body, org.apache.http.Header[] headers)
-
-
-
Method Detail
-
post
ClientResponse post(java.lang.String url, java.lang.String body) throws java.io.IOException
- Throws:
java.io.IOException
-
post
ClientResponse post(java.lang.String url, java.lang.String fileName, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
post
ClientResponse post(java.lang.String url, java.lang.String body, java.lang.String contentType) throws java.io.IOException
- Throws:
java.io.IOException
-
post
ClientResponse post(java.lang.String url) throws java.io.IOException
- Throws:
java.io.IOException
-
post
ClientResponse post(java.lang.String url, java.lang.String body, org.apache.http.Header[] headers) throws java.io.IOException
- Throws:
java.io.IOException
-
get
ClientResponse get(java.lang.String url) throws java.io.IOException
- Throws:
java.io.IOException
-
get
ClientResponse get(java.lang.String url, java.lang.String contentType) throws java.io.IOException
- Throws:
java.io.IOException
-
get
ClientResponse get(java.lang.String url, org.apache.http.Header[] headers) throws java.io.IOException
- Throws:
java.io.IOException
-
delete
ClientResponse delete(java.lang.String url) throws java.io.IOException
- Throws:
java.io.IOException
-
delete
ClientResponse delete(java.lang.String url, java.lang.String body) throws java.io.IOException
- Throws:
java.io.IOException
-
delete
ClientResponse delete(java.lang.String url, java.lang.String body, java.lang.String contentType) throws java.io.IOException
- Throws:
java.io.IOException
-
delete
ClientResponse delete(java.lang.String url, java.lang.String body, org.apache.http.Header[] headers) throws java.io.IOException
- Throws:
java.io.IOException
-
-