[jboss-jira] [JBoss JIRA] Updated: (JBREM-728) Improve access to HTTP response headers
Tom Elrod (JIRA)
jira-events at lists.jboss.org
Mon Mar 19 15:55:33 EDT 2007
[ http://jira.jboss.com/jira/browse/JBREM-728?page=all ]
Tom Elrod updated JBREM-728:
-----------------------------
Fix Version/s: 2.2.0.Beta3 (Bluto)
> Improve access to HTTP response headers
> ---------------------------------------
>
> Key: JBREM-728
> URL: http://jira.jboss.com/jira/browse/JBREM-728
> Project: JBoss Remoting
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 2.2.0.Alpha7
> Reporter: Thomas Diesler
> Assigned To: Tom Elrod
> Fix For: 2.2.0.Beta3 (Bluto)
>
>
> JAXWS needs access to the HTTP response headers
> /**
> * Standard property: HTTP response headers.
> * <p>Type: java.util.Map<java.lang.String, java.util.List<java.lang.String>>
> */
> public static final String HTTP_RESPONSE_HEADERS = "javax.xml.ws.http.response.headers";
> Currently remoting copies these headers to the metadata and I can access them doing a little guess work like this
> // Get the HTTP response headers
> Map<String, List> headers = new HashMap<String, List>();
> for (Map.Entry en : msgContext.entrySet())
> {
> if (en.getKey() instanceof String && en.getValue() instanceof List)
> headers.put((String)en.getKey(), (List)en.getValue());
> }
> msgContext.put(MessageContext.HTTP_RESPONSE_HEADERS, headers);
> I suggest remoting copies the concept of accessing the headers through a single property
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list