camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandp <sandeepred...@gmail.com>
Subject Camel-Restlet 2.14.0 Convert response headers to MAP
Date Fri, 17 Oct 2014 13:19:54 GMT

Hi,
The RestletOperationException.getResponseHeaders() returns a
Map<String,String> with key value pair  below:

{*org.restlet.http.headers*=*[[Content-type: text/html; charset=UTF-8],
[Content-length: 439], [Server: Restlet-Framework/2.2.1], [Date: Fri, 17 Oct
2014 13:16:36 GMT]]*}

Is there a Camel utility that can convert the *value *to a
Map<String,String> so that we could do a get(key) to retrieve the header of
interest?




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Restlet-2-14-0-Convert-response-headers-to-MAP-tp5757728.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message