java.lang.Object | |||
↳ | java.util.AbstractMap<K, V> | ||
↳ | com.google.api.client.util.GenericData | ||
↳ | com.kinvey.java.core.AbstractKinveyClientRequest<T> |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HttpRequest |
buildHttpRequest()
@return
| ||||||||||
T |
execute()
@return
| ||||||||||
void |
executeAndDownloadTo(OutputStream out)
Sends the metadata request to the server and writes the metadata content input stream of
HttpResponse into the given destination output stream.
| ||||||||||
InputStream |
executeAsInputStream()
Sends the metadata request to the server and returns the metadata content input stream of
HttpResponse.
| ||||||||||
HttpResponse | executeUnparsed() | ||||||||||
AbstractKinveyClient | getAbstractKinveyClient() | ||||||||||
KinveyClientCallback<T> | getCallback() | ||||||||||
String | getCustomRequestProperties() | ||||||||||
String | getCustomerAppVersion() | ||||||||||
final MediaHttpDownloader | getDownloader() | ||||||||||
final HttpContent | getHttpContent() | ||||||||||
final int | getLastResponseCode() | ||||||||||
final HttpHeaders | getLastResponseHeaders() | ||||||||||
final String | getLastResponseMessage() | ||||||||||
BackOffPolicy | getRequestBackoffPolicy() | ||||||||||
final HttpHeaders | getRequestHeaders() | ||||||||||
final String | getRequestMethod() | ||||||||||
final Class<T> | getResponseClass() | ||||||||||
final MediaHttpUploader | getUploader() | ||||||||||
final String | getUriTemplate() | ||||||||||
boolean | isRequireAppCredentials() | ||||||||||
T | onRedirect(String newLocation) | ||||||||||
AbstractKinveyClientRequest<T> | setAppKey(String appKey) | ||||||||||
void | setCallback(KinveyClientCallback<T> callback) | ||||||||||
void | setOverrideRedirect(boolean override) | ||||||||||
AbstractKinveyClientRequest<T> | setRequestHeaders(HttpHeaders headers) | ||||||||||
void | setRequireAppCredentials(boolean requireAppCredentials) | ||||||||||
void | setTemplateExpand(boolean expand) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
@return
IOException |
---|
@return
IOException |
---|
Sends the metadata request to the server and writes the metadata content input stream of HttpResponse into the given destination output stream.
This method closes the content of the HTTP response from getContent()
.
Subclasses may override by calling the super implementation.
out | destination output stream |
---|
IOException |
---|
Sends the metadata request to the server and returns the metadata content input stream of HttpResponse.
Callers are responsible for closing the input stream after it is processed. Example sample:
InputStream is = request.executeAsInputStream(); try { // Process input stream.. } finally { is.close(); }
Subclasses may override by calling the super implementation.
IOException |
---|
IOException |
---|
IOException |
---|