Binding input DTO properties to http headers values

Is this possible ?

thank you
Enrico

It’s not a built-in feature which would encourage bad practices and not map cleanly to properties given HTTP Headers are hyphenated. You’d have to add custom logic in a Global Request Filter where you iterate through Request HTTP Headers and use reflection to populate the Request DTO.