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, status
ATTR_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, isRedirected
asMultiPartEntity, asStringEntity, buildMultipartInput, getEntity, getFileName, getHeaderValue, getMethod, getUrl, handleException, isMultiPart, readBlob, readBlobs, readStringBlob
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
protected 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.CompletableRequest
public CompletableFuture<Object> execute()
Copyright © 2019 Nuxeo. All rights reserved.