Uses of Class
cloud.opencode.base.web.http.ContentType
Packages that use ContentType
-
Uses of ContentType in cloud.opencode.base.web.http
Methods in cloud.opencode.base.web.http that return ContentTypeModifier and TypeMethodDescriptionstatic ContentTypeContentType.binary()Creates a ContentType for binary data.static ContentTypeContentType.form()Creates a ContentType for form data.HttpHeaders.getContentType()Gets Content-Type header.static ContentTypeContentType.json()Creates a ContentType for JSON with UTF-8.static ContentTypeCreates a ContentType for multipart with boundary.static ContentTypeCreates a ContentType with MIME type only.static ContentTypeCreates a ContentType with MIME type and charset.static ContentTypeParses a Content-Type header value.static ContentTypeContentType.text()Creates a ContentType for plain text with UTF-8.static ContentTypeContentType.xml()Creates a ContentType for XML with UTF-8.Methods in cloud.opencode.base.web.http with parameters of type ContentTypeModifier and TypeMethodDescriptionHttpHeaders.contentType(ContentType contentType) Sets Content-Type header.