[jbosstools-issues] [JBoss JIRA] (JBIDE-26040) Error for JAX-RS 2.1 @Context types
Nick Boldt (JIRA)
issues at jboss.org
Tue Jun 19 23:23:01 EDT 2018
[ https://issues.jboss.org/browse/JBIDE-26040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594177#comment-13594177 ]
Nick Boldt commented on JBIDE-26040:
------------------------------------
[checkUnresolvedIssues.py] Slip to fixversion = *4.6.x*
> Error for JAX-RS 2.1 @Context types
> -----------------------------------
>
> Key: JBIDE-26040
> URL: https://issues.jboss.org/browse/JBIDE-26040
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.5.3.Final
> Reporter: Rich DiCroce
> Assignee: Jeff MAURY
> Fix For: 4.6.x
>
>
> JAX-RS 2.1 adds some new types that can be injected into methods using the Context annotation, e.g. Sse and SseEventSink. Currently, JBoss Tools flags these with an error:
> {quote}
> @Context annotation is only allowed on method parameters of type '[javax.ws.rs.core.HttpHeaders, javax.ws.rs.core.UriInfo, javax.ws.rs.core.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletConfig, javax.servlet.ServletContext, javax.ws.rs.core.SecurityContext]'.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list