Uses of Class
kong.unirest.core.ContentType
Packages that use ContentType
-
Uses of ContentType in kong.unirest.core
Fields in kong.unirest.core declared as ContentTypeModifier and TypeFieldDescriptionstatic final ContentTypeContentType.APPLICATION_ATOM_XMLstatic final ContentTypeContentType.APPLICATION_FORM_URLENCODEDstatic final ContentTypeContentType.APPLICATION_JSONstatic final ContentTypeContentType.APPLICATION_JSON_PATCHstatic final ContentTypeContentType.APPLICATION_OCTET_STREAMstatic final ContentTypeContentType.APPLICATION_PDFstatic final ContentTypeContentType.APPLICATION_SVG_XMLstatic final ContentTypeContentType.APPLICATION_XHTML_XMLstatic final ContentTypeContentType.APPLICATION_XMLstatic final ContentTypeContentType.BINARY_OCTET_STREAMstatic final ContentTypeContentType.IMAGE_BMPstatic final ContentTypeContentType.IMAGE_GIFstatic final ContentTypeContentType.IMAGE_JPEGstatic final ContentTypeContentType.IMAGE_PNGstatic final ContentTypeContentType.IMAGE_SVGstatic final ContentTypeContentType.IMAGE_TIFFstatic final ContentTypeContentType.IMAGE_WEBPstatic final ContentTypeContentType.MULTIPART_FORM_DATAstatic final ContentTypeContentType.TEXT_HTMLstatic final ContentTypeContentType.TEXT_PLAINstatic final ContentTypeContentType.TEXT_XMLstatic final ContentTypeContentType.WILDCARDMethods in kong.unirest.core that return ContentTypeModifier and TypeMethodDescriptionstatic ContentTypestatic ContentTypestatic ContentTypeContentType.withCharset(Charset charset) Methods in kong.unirest.core with parameters of type ContentTypeModifier and TypeMethodDescriptiondefault RHttpRequest.accept(ContentType value) The Accept header to send (e.g.default HttpRequestWithBodyHttpRequestWithBody.contentType(ContentType type) HttpRequestBody.field(String name, InputStream stream, ContentType contentType, String fileName) HttpRequestMultiPart.field(String name, byte[] bytes, ContentType contentType, String fileName) HttpRequestMultiPart.field(String name, InputStream value, ContentType contentType) HttpRequestMultiPart.field(String name, InputStream stream, ContentType contentType, String fileName) HttpRequestMultiPart.field(String name, String value, ContentType contentType) HttpRequestWithBody.field(String name, InputStream stream, ContentType contentType, String fileName) Sets a File on the body from a raw InputStream requires a specified content-type and file name.MultipartBody.field(String name, byte[] bytes, ContentType contentType, String fileName) add a simple field with a name and valueMultipartBody.field(String name, InputStream value, ContentType contentType) add a simple field with a name and valueMultipartBody.field(String name, InputStream stream, ContentType contentType, String fileName) add a simple field with a name and valueMultipartBody.field(String name, String value, ContentType contentType) add a simple field with a name and valueConstructors in kong.unirest.core with parameters of type ContentTypeModifierConstructorDescription(package private)ByteArrayPart(String name, byte[] bytes, ContentType contentType, String fileName)