public class CompletableFutureResponseListener
extends org.eclipse.jetty.client.util.BufferingResponseListener
| Constructor and Description |
|---|
CompletableFutureResponseListener(java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> completable) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(org.eclipse.jetty.client.api.Result result) |
getContent, getContentAsInputStream, getContentAsString, getContentAsString, getContentAsString, getEncoding, getMediaType, onContent, onHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonBegin, onFailure, onHeader, onSuccesspublic CompletableFutureResponseListener(java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> completable)
public void onComplete(org.eclipse.jetty.client.api.Result result)
onComplete in interface org.eclipse.jetty.client.api.Response.CompleteListeneronComplete in interface org.eclipse.jetty.client.api.Response.ListeneronComplete in class org.eclipse.jetty.client.util.BufferingResponseListener