Skip to content

Add InputStreamSourceToByteArrayConverter #21285

@philwebb

Description

@philwebb

It would be useful if the ApplicationConversionService could convert between InputStreamSource instances (for example a FileSytemResource) and byte arrays so that users can do environment.getProperty("something", byte[].class) to quickly get the content.

This is likely to be important if we are to support binary items from a Kubernetes configmap.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions