Uses of Interface
io.avaje.http.client.HttpCall
-
Uses of HttpCall in io.avaje.http.client
Methods in io.avaje.http.client that return HttpCallModifier and TypeMethodDescription<E> HttpCall<HttpResponse<E>> A bean response to execute async or sync.<E> HttpCall<HttpResponse<E>> Same asHttpCallResponse.as(Class)but takes a generic parameterized type.HttpCall<HttpResponse<byte[]>> HttpCallResponse.asByteArray()Process as response HttpResponse<byte[]>.HttpCallResponse.asDiscarding()Process discarding response body as HttpResponse<Void>.HttpCallResponse.asInputStream()Process as response HttpResponse<InputStream>.HttpCallResponse.asLines()Process as response HttpResponse<Stream<String>>.<E> HttpCall<HttpResponse<List<E>>> Same asHttpCallResponse.as(Class)but returnsHttpResponse<List<E>>.<E> HttpCall<HttpResponse<List<E>>> Same asHttpCallResponse.as(Class)but returnsHttpResponse<List<E>>.<E> HttpCall<HttpResponse<Stream<E>>> Same asHttpCallResponse.as(Class)but returnsHttpResponse<Stream<E>>.<E> HttpCall<HttpResponse<Stream<E>>> Same asHttpCallResponse.as(Class)but returnsHttpResponse<Stream<E>>.HttpCallResponse.asString()Process as String response body HttpResponse<String>.HttpCallResponse.asVoid()Process the response with check for 200 range status code returning as HttpResponse<Void>.<E> HttpCall<E> A bean response to execute async or sync.<E> HttpCall<E> A bean response to execute async or sync.<E> HttpCall<HttpResponse<E>> HttpCallResponse.handler(HttpResponse.BodyHandler<E> bodyHandler) Call using any givenHttpResponse.BodyHandler.Process expecting a list of beans response body (typically from json content).Process expecting a list of beans response body (typically from json content).Process expecting a stream of beans response body (typically from json content).Process expecting a stream of beans response body (typically from json content).