org.mule.modules.google.api.client.batch
Class BatchCallback<W,T>
java.lang.Object
com.google.api.client.googleapis.batch.json.JsonBatchCallback<T>
org.mule.modules.google.api.client.batch.BatchCallback<W,T>
- All Implemented Interfaces:
- com.google.api.client.googleapis.batch.BatchCallback<T,com.google.api.client.googleapis.json.GoogleJsonErrorContainer>
public abstract class BatchCallback<W,T>
- extends com.google.api.client.googleapis.batch.json.JsonBatchCallback<T>
- Author:
- mariano.gonzalez@mulesoft.com
|
Method Summary |
BatchResponse<W> |
getResponse()
|
void |
onFailure(com.google.api.client.googleapis.json.GoogleJsonError e,
com.google.api.client.googleapis.GoogleHeaders responseHeaders)
|
void |
onSuccess(T t,
com.google.api.client.googleapis.GoogleHeaders responseHeaders)
|
protected abstract W |
typeToWrapper(T object)
|
| Methods inherited from class com.google.api.client.googleapis.batch.json.JsonBatchCallback |
onFailure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchCallback
public BatchCallback()
onFailure
public void onFailure(com.google.api.client.googleapis.json.GoogleJsonError e,
com.google.api.client.googleapis.GoogleHeaders responseHeaders)
throws IOException
- Specified by:
onFailure in class com.google.api.client.googleapis.batch.json.JsonBatchCallback<T>
- Throws:
IOException
onSuccess
public void onSuccess(T t,
com.google.api.client.googleapis.GoogleHeaders responseHeaders)
getResponse
public BatchResponse<W> getResponse()
typeToWrapper
protected abstract W typeToWrapper(T object)
Copyright © 2012. All Rights Reserved.