Enum Class ResponseType
- All Implemented Interfaces:
Serializable,Comparable<ResponseType>,Constable
Defines the response type for document conversion operations.
Each enumeration value corresponds to a specific response format and determines how the converted document content is delivered to the client:
IN_BODY- Content is embedded directly in the response body (InBodyConvertDocumentResponse)ZIP_ARCHIVE- Content is packaged and returned as a ZIP archive (ZipArchiveConvertDocumentResponse)PRE_SIGNED_URL- Content is packaged as a ZIP archive and uploaded to the given target URI and statistical information is returned. (PreSignedUrlConvertDocumentResponse)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents response type -InBodyConvertDocumentResponseRepresents response type -PreSignedUrlConvertDocumentResponseRepresents response type -ZipArchiveConvertDocumentResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseTypeReturns the enum constant of this class with the specified name.static ResponseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_BODY
Represents response type -InBodyConvertDocumentResponse -
ZIP_ARCHIVE
Represents response type -ZipArchiveConvertDocumentResponse -
PRE_SIGNED_URL
Represents response type -PreSignedUrlConvertDocumentResponse
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-