[JBoss JIRA] Created: (JBIDE-7105) [REST Sample WS Wizard] provide a text box on wizard page that shows what the service URL may look like
by Brian Fitzpatrick (JIRA)
[REST Sample WS Wizard] provide a text box on wizard page that shows what the service URL may look like
-------------------------------------------------------------------------------------------------------
Key: JBIDE-7105
URL: https://jira.jboss.org/browse/JBIDE-7105
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Brian Fitzpatrick
Assignee: Brian Fitzpatrick
Fix For: 3.3.x
This has been spun off from JBIDE-6754.
"We will also spin off a second JIRA to provide a read only text box somewhere on the wizard page that attempts to assemble what the path will look like. There are issues with that, since we would have to look into web.xml (if exists) and search for classes implementing Application (?) interface and look which method is going to return newly created class...
However, we both agreed that that functionality won't be done for this release, though it would be very useful to show the rest of the wizard page details in context."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10686) [Validation] Show error when trying to inject unsupported type with @Context
by Xavier Coulon (JIRA)
Xavier Coulon created JBIDE-10686:
-------------------------------------
Summary: [Validation] Show error when trying to inject unsupported type with @Context
Key: JBIDE-10686
URL: https://issues.jboss.org/browse/JBIDE-10686
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 3.3.0.M5
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Priority: Minor
Fix For: 3.3.0.Beta1
The @Context annotation allows to inject instances of javax.ws.rs.core.HttpHeaders, javax.ws.rs.core.UriInfo, javax.ws.rs.core.Request, javax.servlet.HttpServletRequest, javax.servlet.HttpServletResponse, javax.servlet.ServletConfig, javax.servlet.ServletContext, and javax.ws.rs.core.SecurityContext objects.
If the code is something like that:
{code}
@POST
public Response save(Content content, @Context UriInfo uri, @Context UriBuilder uriBuilder) {
...
}
{code}
then the JAX-RS implementation will set 'uriBuilder' not null, which will probably lead to a NullPointerException somewhere in the method code..
The JAX-RS plugin should report a warning/error to check that the injected type is limited to the list given above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month