[ https://issues.apache.org/jira/browse/HADOOP-7600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated HADOOP-7600:
----------------------------
Fix Version/s: (was: 0.24.0)
> Generalize HttpServer addServlet API
> -------------------------------------
>
> Key: HADOOP-7600
> URL: https://issues.apache.org/jira/browse/HADOOP-7600
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 0.23.0
> Reporter: Luke Lu
>
> HttpServer is a wrapper for servlet containers (JSR-154), which jetty is the current
implementation. HADOOP-7594 violates the abstraction by adding an implementation specific
method addJerseyResource which is tied to a specific JSR-311 implementation. The motivation
for adding the method is probably due to a lack of generalized addServlet API a la addFilter
which takes a map of init parameters.
> The straight forward solution is add a more generalized addServlet API similar to the
existing addFilter API to accommodate the init parameters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|