Uses of Enum Class
com.landawn.abacus.http.ContentFormat
Packages that use ContentFormat
-
Uses of ContentFormat in com.landawn.abacus.http
Fields in com.landawn.abacus.http declared as ContentFormatMethods in com.landawn.abacus.http that return ContentFormatModifier and TypeMethodDescriptionHttpSettings.getContentFormat()
Gets the content format.static ContentFormat
HttpUtil.getContentFormat
(String contentType, String contentEncoding) Gets the content format.static ContentFormat
HttpUtil.getContentFormat
(HttpURLConnection connection) Gets the content format.static ContentFormat
HttpUtil.getResponseContentFormat
(Map<String, ?> respHeaders, ContentFormat requestContentFormat) static ContentFormat
Returns the enum constant of this class with the specified name.static ContentFormat[]
ContentFormat.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.landawn.abacus.http with parameters of type ContentFormatModifier and TypeMethodDescriptionstatic String
HttpUtil.getContentEncoding
(ContentFormat contentFormat) Gets the content encoding.static String
HttpUtil.getContentType
(ContentFormat contentFormat) Gets the content type.static InputStream
HttpUtil.getInputStream
(HttpURLConnection connection, ContentFormat contentFormat) Gets the input stream.static OutputStream
HttpUtil.getOutputStream
(HttpURLConnection connection, ContentFormat contentFormat, String contentType, String contentEncoding) Gets the output stream.static <SC extends SerializationConfig<?>,
DC extends DeserializationConfig<?>>
Parser<SC,DC> HttpUtil.getParser
(ContentFormat contentFormat) Gets the parser.static ContentFormat
HttpUtil.getResponseContentFormat
(Map<String, ?> respHeaders, ContentFormat requestContentFormat) HttpSettings.setContentFormat
(ContentFormat contentFormat) Sets the content format.static InputStream
HttpUtil.wrapInputStream
(InputStream is, ContentFormat contentFormat) Wrap input stream.static OutputStream
HttpUtil.wrapOutputStream
(OutputStream os, ContentFormat contentFormat) Wrap output stream.