Uses of Class
io.avaje.http.client.BodyContent
-
-
Uses of BodyContent in io.avaje.http.client
Methods in io.avaje.http.client that return BodyContent Modifier and Type Method Description static BodyContent
BodyContent. asJson(byte[] content)
BodyContent
HttpClientContext. readContent(HttpResponse<byte[]> httpResponse)
Return the response content taking into account content encoding.BodyContent
BodyWriter. write(Object bean)
Write the bean as content using the default content type.BodyContent
BodyWriter. write(Object bean, String contentType)
Write the bean as content with the requested content type.Methods in io.avaje.http.client with parameters of type BodyContent Modifier and Type Method Description HttpClientRequest
HttpClientRequest. body(BodyContent bodyContent)
Set encoded body content.T
BodyReader. read(BodyContent content)
-