camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Lindstorff (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8596) Add getRequestHeaders to JettyContentExchange
Date Thu, 10 Sep 2015 07:14:45 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Lindstorff updated CAMEL-8596:
------------------------------------
    Attachment: 8596.patch

Attached a patch that extends JettyContentExchange with Map<String, Collection<String>>
getRequestHeaders().

Implemented for both jetty8 and jetty9.

> Add getRequestHeaders to JettyContentExchange
> ---------------------------------------------
>
>                 Key: CAMEL-8596
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8596
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jetty
>    Affects Versions: 2.15.1
>            Reporter: Mateusz Nowakowski
>             Fix For: Future
>
>         Attachments: 8596.patch
>
>
> Could you add
> Map<String, Collection<String>> getRequestHeaders() method to 
> JettyContentExchange interface?
> Context:
> In Camel 2.14.x JettyContentExchange was a class extending ContentExchange so that it
gives access to ContentExchange methods.
> Currently it is an interface and it is impossible to access (without hacking access to
private final field.... hell yeah ]:->)  for example in order to access to HTTP request
headers...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message