Class WeaviateGraphQLTypedResponseConsumer<C>
java.lang.Object
org.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer<Result<GraphQLTypedResponse<C>>,byte[]>
io.weaviate.client.base.http.async.WeaviateGraphQLTypedResponseConsumer<C>
- All Implemented Interfaces:
org.apache.hc.core5.http.nio.AsyncDataConsumer,org.apache.hc.core5.http.nio.AsyncResponseConsumer<Result<GraphQLTypedResponse<C>>>,org.apache.hc.core5.http.nio.ResourceHolder
public class WeaviateGraphQLTypedResponseConsumer<C>
extends org.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer<Result<GraphQLTypedResponse<C>>,byte[]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Result<GraphQLTypedResponse<C>>buildResult(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
-
WeaviateGraphQLTypedResponseConsumer
-
-
Method Details
-
buildResult
protected Result<GraphQLTypedResponse<C>> buildResult(org.apache.hc.core5.http.HttpResponse response, byte[] entity, org.apache.hc.core5.http.ContentType contentType) - Specified by:
buildResultin classorg.apache.hc.core5.http.nio.support.AbstractAsyncResponseConsumer<Result<GraphQLTypedResponse<C>>,byte[]>
-
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
-