Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel-Restlet 2.14.0 Convert response headers to MAP

$
0
0
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?

Viewing all articles
Browse latest Browse all 5648

Trending Articles