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.EVENT_STREAMSstatic 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. application/json)default HttpRequestWithBodyHttpRequestWithBody.contentType(ContentType type) MultiPartBuilder.contentType(ContentType type) Sets the content type for this part.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) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, InputStream value, ContentType contentType) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, InputStream stream, ContentType contentType, String fileName) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, String value, ContentType contentType) Deprecated.will be removed in Unirest 5.