Uses of Class
kong.unirest.core.ContentType
-
Packages that use ContentType Package Description kong.unirest.core -
-
Uses of ContentType in kong.unirest.core
Methods in kong.unirest.core that return ContentType Modifier and Type Method Description static ContentType
ContentType. create(java.lang.String mimeType)
static ContentType
ContentType. create(java.lang.String mimeType, boolean isBinary)
static ContentType
ContentType. create(java.lang.String mimeType, java.nio.charset.Charset charset)
ContentType
ContentType. withCharset(java.nio.charset.Charset charset)
Methods in kong.unirest.core with parameters of type ContentType Modifier and Type Method Description MultipartBody
HttpRequestBody. field(java.lang.String name, java.io.InputStream stream, ContentType contentType, java.lang.String fileName)
MultipartBody
HttpRequestMultiPart. field(java.lang.String name, byte[] bytes, ContentType contentType, java.lang.String fileName)
MultipartBody
HttpRequestMultiPart. field(java.lang.String name, java.io.InputStream value, ContentType contentType)
MultipartBody
HttpRequestMultiPart. field(java.lang.String name, java.io.InputStream stream, ContentType contentType, java.lang.String fileName)
MultipartBody
HttpRequestWithBody. field(java.lang.String name, java.io.InputStream stream, ContentType contentType, java.lang.String fileName)
Sets a File on the body from a raw InputStream requires a specified content-type and file name.MultipartBody
MultipartBody. field(java.lang.String name, byte[] bytes, ContentType contentType, java.lang.String fileName)
add a simple field with a name and valueMultipartBody
MultipartBody. field(java.lang.String name, java.io.InputStream value, ContentType contentType)
add a simple field with a name and valueMultipartBody
MultipartBody. field(java.lang.String name, java.io.InputStream stream, ContentType contentType, java.lang.String fileName)
add a simple field with a name and valueConstructors in kong.unirest.core with parameters of type ContentType Constructor Description ByteArrayPart(java.lang.String name, byte[] bytes, ContentType contentType, java.lang.String fileName)
-