public abstract class AbstractFutureCallback<T> extends Object implements org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>
FutureCallback
for Olingo2AppImpl| Modifier and Type | Field and Description |
|---|---|
static Pattern |
ODATA_MIME_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
static org.apache.olingo.odata2.api.commons.HttpStatusCodes |
checkStatus(org.apache.http.HttpResponse response) |
void |
completed(org.apache.http.HttpResponse result) |
void |
failed(Exception ex) |
protected abstract void |
onCompleted(org.apache.http.HttpResponse result) |
public static final Pattern ODATA_MIME_TYPE
public static org.apache.olingo.odata2.api.commons.HttpStatusCodes checkStatus(org.apache.http.HttpResponse response)
throws org.apache.olingo.odata2.api.exception.ODataApplicationException
org.apache.olingo.odata2.api.exception.ODataApplicationExceptionpublic final void completed(org.apache.http.HttpResponse result)
completed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>protected abstract void onCompleted(org.apache.http.HttpResponse result)
throws org.apache.olingo.odata2.api.exception.ODataException,
IOException
org.apache.olingo.odata2.api.exception.ODataExceptionIOExceptionpublic final void failed(Exception ex)
failed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>public final void cancelled()
cancelled in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>Apache Camel