Uses of Class
com.landawn.abacus.http.ContentFormat
-
Packages that use ContentFormat Package Description com.landawn.abacus.http -
-
Uses of ContentFormat in com.landawn.abacus.http
Fields in com.landawn.abacus.http declared as ContentFormat Modifier and Type Field Description static ContentFormat
HttpUtil. DEFAULT_CONTENT_FORMAT
Methods in com.landawn.abacus.http that return ContentFormat Modifier and Type Method Description ContentFormat
acceptFormat()
Response content format:Accept + Accept-Encoding
ContentFormat
acceptFormat()
Response content format:Accept + Accept-Encoding
ContentFormat
contentFormat()
Request content format:Content-Type + Content-Encoding
ContentFormat
contentFormat()
Request content format:Content-Type + Content-Encoding
static ContentFormat
HttpUtil. getAcceptFormat(Annotation[] annotations, ContentFormat defaultContentFormat)
ContentFormat
HttpSettings. getContentFormat()
Gets the content format.static ContentFormat
HttpUtil. getContentFormat(Annotation[] annotations, ContentFormat defaultContentFormat)
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
ContentFormat. valueOf(String name)
Returns the enum constant of this type with the specified name.static ContentFormat[]
ContentFormat. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.landawn.abacus.http with parameters of type ContentFormat Modifier and Type Method Description static ContentFormat
HttpUtil. getAcceptFormat(Annotation[] annotations, ContentFormat defaultContentFormat)
static String
HttpUtil. getContentEncoding(ContentFormat contentFormat)
Gets the content encoding.static ContentFormat
HttpUtil. getContentFormat(Annotation[] annotations, ContentFormat defaultContentFormat)
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
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.
-