[
https://issues.jboss.org/browse/JBIDE-12633?page=com.atlassian.jira.plugi...
]
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