[jbosstools-issues] [JBoss JIRA] (JBIDE-12633) Support for JAX-RS Application subclassing with configuration in web.xml
Isaac Rooskov (JIRA)
jira-events at lists.jboss.org
Sun Oct 14 20:24:01 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isaac Rooskov updated JBIDE-12633:
----------------------------------
Release Notes Docs Status: Documented as Feature Request
Writer: irooskov
Release Notes Text: Support has been added for JAX-RS Application subclassing by allowing a user to place a corresponding configuration in the web.xml file of the application.
> Support for JAX-RS Application subclassing with configuration in web.xml
> ------------------------------------------------------------------------
>
> Key: JBIDE-12633
> URL: https://issues.jboss.org/browse/JBIDE-12633
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Webservices
> Affects Versions: 4.0.0.Alpha1
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: new_and_noteworthy
> Fix For: 4.0.0.Alpha2
>
>
> As described in https://docs.jboss.org/author/display/AS7/JAX-RS+Reference+Guide, the plugin should support the following use case:
> {quote}
> Subclassing javax.ws.rs.core.Application and using web.xml
> If you do not wish to use @ApplicationPath but still need to subclass Application you can set up the JAX-RS mapping in web.xml:
> {quote}
> {code}
> public class MyApplication extends Application {
> }
> {code}
> {code}
> <servlet-mapping>
> <servlet-name>com.acme.MyApplication</servlet-name>
> <url-pattern>/hello/*</url-pattern>
> </servlet-mapping>
> {code}
--
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
More information about the jbosstools-issues
mailing list