Uses of Interface
io.avaje.http.client.BodyContent
-
Uses of BodyContent in io.avaje.http.client
Methods in io.avaje.http.client that return BodyContentModifier and TypeMethodDescriptionstatic BodyContent
BodyContent.asJson
(byte[] content) Create BodyContent for JSON byte[] content.static BodyContent
BodyContent.of
(byte[] content) Create BodyContent with the given byte[] content.static BodyContent
Create BodyContent with the given string content.static BodyContent
Create BodyContent with the given the content type and byte[] content.static BodyContent
Create BodyContent with the given the content type and string content.Write the bean as content using the default content type.Write the bean as content with the requested content type.Methods in io.avaje.http.client that return types with arguments of type BodyContentModifier and TypeMethodDescriptionHttpClientRequest.bodyContent()
Get the body content for this request if available.Methods in io.avaje.http.client with parameters of type BodyContentModifier and TypeMethodDescriptionHttpClientRequest.body
(BodyContent bodyContent) Set encoded body content.BodyReader.read
(BodyContent content) Read the content returning it as a java type.