jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Explicit demand control in WebSocket endpoints with only onWebSocketFrame()

Open sbordet opened this issue 1 year ago • 1 comments

Jetty version(s) 12+

Description If a WebSocket endpoint only overrides onWebSocketFrame() it currently has no explicit control over the demand, because the implementation expects other methods to be present, and the other methods to control the demand explicitly.

There should be a way to explicitly control the demand if an application want to deal only with frames.

sbordet avatar Jan 23 '24 22:01 sbordet

See #11304.

sbordet avatar Jan 23 '24 22:01 sbordet