Package io.micronaut.function.aws.proxy
Class BinaryContentConfiguration
java.lang.Object
io.micronaut.function.aws.proxy.BinaryContentConfiguration
Bean to check if response content is binary and should be base 64 encoded.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinaryContentType
(String contentType) Add a content type to the list of binary content types.boolean
-
Constructor Details
-
BinaryContentConfiguration
public BinaryContentConfiguration()
-
-
Method Details
-
addBinaryContentType
Add a content type to the list of binary content types.- Parameters:
contentType
- The content type to add
-
isBinary
- Parameters:
contentType
- The content type- Returns:
- True if the content type is encoded as binary
-