Package io.trino.client
Class JsonResponse<T>
java.lang.Object
io.trino.client.JsonResponse<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> JsonResponse<T>execute(JsonCodec<T> codec, okhttp3.Call.Factory client, okhttp3.Request request, OptionalLong materializedJsonSizeLimit) okhttp3.HeadersintgetValue()booleanhasValue()toString()
-
Method Details
-
getStatusCode
public int getStatusCode() -
getHeaders
public okhttp3.Headers getHeaders() -
hasValue
public boolean hasValue() -
getValue
-
getResponseBody
-
getException
-
toString
-
execute
public static <T> JsonResponse<T> execute(JsonCodec<T> codec, okhttp3.Call.Factory client, okhttp3.Request request, OptionalLong materializedJsonSizeLimit)
-