-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Removed unnecessary classes, among which `BatchMode`, `CloseStatus`, etc. * Coalesced all listener interfaces into `Session.Listener`. * Moved `RemoteEndpoint` functionality to `Session`. * Renamed `WebSocketPolicy` to `Configurable`. * Renamed `WriteCallback` to just `Callback`, as it is now also used for some listener methods. * Renamed `@OnWebSocketConnect` to `@OnWebSocketOpen` * Renamed `Session.Listener.onWebSocketConnect()` to `onWebSocketOpen()`. * Removed `@WebSocket` annotation attributes, because they were just a subset of the configurable ones and they can be configured directly on the Session instance. * Removed `Session.suspend()` and `SuspendToken`, and introduced `Session.demand()`. * Introduced `@WebSocket.autoDemand` and `Session.Listener.AutoDemanding` to support automatic demand upon exit of WebSocket handler methods. * Removed `FrameHandler.isAutoDemanding()` and `CoreSession.isAutoDemanding()`. * Changed the responsibility of demand from `WebSocketCoreSession` to `FrameHandler`, which in turn may delegate to `MessageSink`. * Updated MessageInputStream to fail if an exception is thrown by the application. Signed-off-by: Simone Bordet <[email protected]>
- Loading branch information
Showing
215 changed files
with
3,202 additions
and
4,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.