public class AsyncSession.AsyncRequest extends AsyncSession.CompletableRequest
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected static String |
ASYNC_ADAPTER |
future, headers, redirected, result, statusATTR_PATTERN, entity, GET, isMultiPart, method, POST, RFC2231_ATTR_PATTERN, url| Constructor and Description |
|---|
AsyncRequest(int method,
String url,
MultipartInput input) |
AsyncRequest(int method,
String url,
String entity) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Object> |
execute() |
protected AsyncSession |
getSession() |
protected CompletableFuture<Object> |
poll(String location,
Duration delay,
Duration duration) |
call, getHeader, getResult, getStatus, handleResult, isRedirectedasMultiPartEntity, asStringEntity, buildMultipartInput, getEntity, getFileName, getHeaderValue, getMethod, getUrl, handleException, isMultiPart, readBlob, readBlobs, readStringBlobclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringprotected static final String ASYNC_ADAPTER
public AsyncRequest(int method, String url, String entity)
public AsyncRequest(int method, String url, MultipartInput input)
protected AsyncSession getSession()
getSession in class AsyncSession.CompletableRequestpublic CompletableFuture<Object> execute()
Copyright © 2019 Nuxeo. All rights reserved.