Package io.odilon.client.http
Class HttpRequestBody
java.lang.Object
okhttp3.RequestBody
io.odilon.client.http.HttpRequestBody
public class HttpRequestBody
extends okhttp3.RequestBody
RequestBody that wraps a single data object.
- Author:
- atolomei@novamens.com (Alejandro Tolomei)
-
Nested Class Summary
Nested classes/interfaces inherited from class okhttp3.RequestBody
okhttp3.RequestBody.Companion
-
Field Summary
Fields inherited from class okhttp3.RequestBody
Companion
-
Constructor Summary
-
Method Summary
Methods inherited from class okhttp3.RequestBody
create, create, create, create, create, create, create, create, create, create, create, create, create, isDuplex, isOneShot
-
Constructor Details
-
HttpRequestBody
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentType
in classokhttp3.RequestBody
-
contentLength
public long contentLength()- Overrides:
contentLength
in classokhttp3.RequestBody
-
writeTo
- Specified by:
writeTo
in classokhttp3.RequestBody
- Throws:
IOException
-