You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if a parameter of type String, any Java primitive type, or boxed version thereof are used in methods on an annotated endpoint class decorated with @OnOpen and @OnClose, they need to have the annotation @PathParam. If they don't have it, they throw an error.
For this reason, we need to provide a quick fix for the user.
Specification:
@PathParam is used to annotate one or more parameters of methods on an annotated endpoint class decorated with any of the annotations @OnMessage, @onerror, @onopen, @onclosehere
Type of language feature proposed:
Select all that apply
diagnostic
quick-fix
snippet
other, please specify:
The text was updated successfully, but these errors were encountered:
Description:
Currently, if a parameter of type String, any Java primitive type, or boxed version thereof are used in methods on an annotated endpoint class decorated with
@OnOpen
and@OnClose
, they need to have the annotation@PathParam
. If they don't have it, they throw an error.For this reason, we need to provide a quick fix for the user.
Specification:
@PathParam
is used to annotate one or more parameters of methods on an annotated endpoint class decorated with any of the annotations @OnMessage, @onerror, @onopen, @onclose hereType of language feature proposed:
Select all that apply
The text was updated successfully, but these errors were encountered: