Class WeaviateResponseConsumer<T>
java.lang.Object
org.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer<Result<T>,byte[]>
io.weaviate.client.base.http.async.WeaviateResponseConsumer<T>
- All Implemented Interfaces:
org.apache.hc.core5.http.nio.AsyncDataConsumer,org.apache.hc.core5.http.nio.AsyncResponseConsumer<Result<T>>,org.apache.hc.core5.http.nio.ResourceHolder
public class WeaviateResponseConsumer<T>
extends org.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer<Result<T>,byte[]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildResult(org.apache.hc.core5.http.HttpResponse response, byte[] entity, org.apache.hc.core5.http.ContentType contentType) voidinformationResponse(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.protocol.HttpContext context) Methods inherited from class org.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer
consume, consumeResponse, failed, releaseResources, streamEnd, updateCapacity
-
Constructor Details
-
WeaviateResponseConsumer
-
-
Method Details
-
buildResult
-
informationResponse
public void informationResponse(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException - Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-