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 user adds a non-valid parameter to methods annotated with @onMessage to classes annotated with @ServerEndpoint or @ClientEndpoint, it will create a server error, leaving the server unresponsive. However, the user is not notified of this in the IDE. Only a small error shows up in the terminal.
For this reason, we need to apply a validation of parameters for the onMessage lifecycle method.
Specification:
Each OnMessage method handles: text, binary and pong, per JakartaEE specs found here
dalidia
changed the title
WebSocket: Validate for parameters OnMessage lifecycle method
WebSocket: Validate for parameters onMessage lifecycle method
Feb 11, 2022
dalidia
changed the title
WebSocket: Validate for parameters onMessage lifecycle method
WebSocket: Validate for parameters onMessage message handler
Feb 11, 2022
Description:
Currently, if a user adds a non-valid parameter to methods annotated with
@onMessage
to classes annotated with@ServerEndpoint
or@ClientEndpoint
, it will create a server error, leaving the server unresponsive. However, the user is not notified of this in the IDE. Only a small error shows up in the terminal.For this reason, we need to apply a validation of parameters for the
onMessage
lifecycle method.Specification:
Each OnMessage method handles: text, binary and pong, per JakartaEE specs found here
Acceptable
Error
Type of language feature proposed:
Select all that apply
The text was updated successfully, but these errors were encountered: