Uses of Class
org.apache.hc.client5.http.async.methods.SimpleHttpResponse
-
Packages that use SimpleHttpResponse Package Description org.apache.hc.client5.http.async.methods Common HTTP methods and message handlers for the asynchronous I/O model.org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.org.apache.hc.client5.http.impl.cache Caching API implementation for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.testing.async -
-
Uses of SimpleHttpResponse in org.apache.hc.client5.http.async.methods
Methods in org.apache.hc.client5.http.async.methods that return SimpleHttpResponse Modifier and Type Method Description SimpleHttpResponse
SimpleResponseBuilder. build()
protected SimpleHttpResponse
SimpleResponseConsumer. buildResult(org.apache.hc.core5.http.HttpResponse response, byte[] entity, org.apache.hc.core5.http.ContentType contentType)
static SimpleHttpResponse
SimpleHttpResponse. copy(org.apache.hc.core5.http.HttpResponse original)
static SimpleHttpResponse
SimpleHttpResponse. create(int code)
static SimpleHttpResponse
SimpleHttpResponse. create(int code, byte[] content)
static SimpleHttpResponse
SimpleHttpResponse. create(int code, byte[] content, org.apache.hc.core5.http.ContentType contentType)
static SimpleHttpResponse
SimpleHttpResponse. create(int code, java.lang.String content)
static SimpleHttpResponse
SimpleHttpResponse. create(int code, java.lang.String content, org.apache.hc.core5.http.ContentType contentType)
Methods in org.apache.hc.client5.http.async.methods with parameters of type SimpleHttpResponse Modifier and Type Method Description static SimpleResponseBuilder
SimpleResponseBuilder. copy(SimpleHttpResponse response)
protected void
SimpleResponseBuilder. digest(SimpleHttpResponse response)
-
Uses of SimpleHttpResponse in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async that return types with arguments of type SimpleHttpResponse Modifier and Type Method Description java.util.concurrent.Future<SimpleHttpResponse>
CloseableHttpAsyncClient. execute(SimpleHttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback)
java.util.concurrent.Future<SimpleHttpResponse>
CloseableHttpAsyncClient. execute(SimpleHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback)
Method parameters in org.apache.hc.client5.http.impl.async with type arguments of type SimpleHttpResponse Modifier and Type Method Description java.util.concurrent.Future<SimpleHttpResponse>
CloseableHttpAsyncClient. execute(SimpleHttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback)
java.util.concurrent.Future<SimpleHttpResponse>
CloseableHttpAsyncClient. execute(SimpleHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback)
-
Uses of SimpleHttpResponse in org.apache.hc.client5.http.impl.cache
Methods in org.apache.hc.client5.http.impl.cache that return SimpleHttpResponse Modifier and Type Method Description (package private) SimpleHttpResponse
CachingExecBase. generateCachedResponse(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry, java.time.Instant now)
(package private) SimpleHttpResponse
CachingExecBase. generateGatewayTimeout(org.apache.hc.core5.http.protocol.HttpContext context)
(package private) SimpleHttpResponse
CachedHttpResponseGenerator. generateNotModifiedResponse(HttpCacheEntry entry)
Generate a 304 - Not Modified response from theHttpCacheEntry
.(package private) SimpleHttpResponse
CachedHttpResponseGenerator. generateResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry)
If it is legal to use cached content in response response to theHttpRequest
then generate anHttpResponse
based onHttpCacheEntry
.SimpleHttpResponse
CachedHttpResponseGenerator. getErrorForRequest(RequestProtocolError errorCheck)
Extract error information about theHttpRequest
telling the 'caller' that a problem occurred.(package private) SimpleHttpResponse
CachingExecBase. getFatallyNonCompliantResponse(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)
(package private) SimpleHttpResponse
CachingExecBase. handleRevalidationFailure(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry, java.time.Instant now)
(package private) SimpleHttpResponse
CachingExecBase. unvalidatedCacheHit(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry)
Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type SimpleHttpResponse Modifier and Type Method Description protected org.apache.hc.core5.http.impl.io.AbstractMessageWriter<SimpleHttpResponse>
HttpByteArrayCacheEntrySerializer. makeHttpResponseWriter(org.apache.hc.core5.http.io.SessionOutputBuffer outputBuffer)
Helper method to make a new HTTP response writer.Methods in org.apache.hc.client5.http.impl.cache with parameters of type SimpleHttpResponse Modifier and Type Method Description private static org.apache.hc.core5.http.ClassicHttpResponse
CachingExec. convert(SimpleHttpResponse cacheResponse, ExecChain.Scope scope)
private void
AsyncCachingExec. triggerResponse(SimpleHttpResponse cacheResponse, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
protected void
HttpByteArrayCacheEntrySerializer.SimpleHttpResponseWriter. writeHeadLine(SimpleHttpResponse message, org.apache.hc.core5.util.CharArrayBuffer lineBuf)
-
Uses of SimpleHttpResponse in org.apache.hc.client5.testing.async
Methods in org.apache.hc.client5.testing.async that return SimpleHttpResponse Modifier and Type Method Description protected abstract SimpleHttpResponse
AbstractSimpleServerExchangeHandler. handle(SimpleHttpRequest request, org.apache.hc.core5.http.protocol.HttpCoreContext context)
-