camel-users mailing list archives

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

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

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message