Uses of Class
org.apache.hc.client5.http.async.methods.SimpleHttpResponse
Packages that use SimpleHttpResponse
Package
Description
Common HTTP methods and message handlers for the asynchronous I/O model.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Uses of SimpleHttpResponse in org.apache.hc.client5.http.async.methods
Subclasses with type arguments of type SimpleHttpResponse in org.apache.hc.client5.http.async.methodsModifier and TypeClassDescriptionclassBuildsSimpleHttpResponseinstances.final classHTTP response consumer that generates aSimpleHttpResponseinstance based on events of an incoming data stream.Methods in org.apache.hc.client5.http.async.methods that return SimpleHttpResponseModifier and TypeMethodDescriptionSimpleResponseBuilder.build()protected SimpleHttpResponseSimpleResponseConsumer.buildResult(org.apache.hc.core5.http.HttpResponse response, byte[] entity, org.apache.hc.core5.http.ContentType contentType) static SimpleHttpResponseSimpleHttpResponse.copy(org.apache.hc.core5.http.HttpResponse original) static SimpleHttpResponseSimpleHttpResponse.create(int code) static SimpleHttpResponseSimpleHttpResponse.create(int code, byte[] content) static SimpleHttpResponseSimpleHttpResponse.create(int code, byte[] content, org.apache.hc.core5.http.ContentType contentType) static SimpleHttpResponsestatic SimpleHttpResponseSimpleHttpResponse.create(int code, String content, org.apache.hc.core5.http.ContentType contentType) Methods in org.apache.hc.client5.http.async.methods with parameters of type SimpleHttpResponseModifier and TypeMethodDescriptionstatic SimpleResponseBuilderSimpleResponseBuilder.copy(SimpleHttpResponse response) Copies a source instance into a new one.protected voidSimpleResponseBuilder.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 SimpleHttpResponseModifier and TypeMethodDescriptionfinal Future<SimpleHttpResponse> CloseableHttpAsyncClient.execute(SimpleHttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) final 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 SimpleHttpResponseModifier and TypeMethodDescriptionfinal Future<SimpleHttpResponse> CloseableHttpAsyncClient.execute(SimpleHttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) final 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 SimpleHttpResponseModifier and TypeMethodDescription(package private) SimpleHttpResponseCachingExecBase.generateCachedResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) SimpleHttpResponseCachingExecBase.generateGatewayTimeout()(package private) SimpleHttpResponseCachedHttpResponseGenerator.generateNotModifiedResponse(HttpCacheEntry entry) Generate a 304 - Not Modified response from theHttpCacheEntry.(package private) SimpleHttpResponseCachedHttpResponseGenerator.generateResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) If it is legal to use cached content in response response to theHttpRequestthen generate anHttpResponsebased onHttpCacheEntry.Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type SimpleHttpResponseModifier and TypeMethodDescriptionprotected org.apache.hc.core5.http.impl.io.AbstractMessageWriter<SimpleHttpResponse> HttpByteArrayCacheEntrySerializer.makeHttpResponseWriter(org.apache.hc.core5.http.io.SessionOutputBuffer outputBuffer) Deprecated.Do not use.Methods in org.apache.hc.client5.http.impl.cache with parameters of type SimpleHttpResponseModifier and TypeMethodDescriptionprivate static org.apache.hc.core5.http.ClassicHttpResponseCachingExec.convert(SimpleHttpResponse cacheResponse) private voidAsyncCachingExec.triggerResponse(SimpleHttpResponse cacheResponse, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)