Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
There's quite often need to convert the header to some format. Now we use the following method:
.setBody().header("myheader") .convertBodyTo(String.class) .setHeader("myheader").body()
This adds verbosity to the code and could be done more elegantly if there was own method for this. Similar to
.convertBodyTo(class)
but for the header. Example:
.convertHeaderTo("myheader", String.class)
Attachments
Issue Links
- links to