public static final class WebSocketUpgradeHandler.Builder extends Object
WebSocketUpgradeHandler
Constructor and Description |
---|
WebSocketUpgradeHandler.Builder() |
Modifier and Type | Method and Description |
---|---|
WebSocketUpgradeHandler.Builder |
addWebSocketListener(WebSocketListener listener)
Add a
WebSocketListener that will be added to the WebSocket |
WebSocketUpgradeHandler |
build()
Build a
WebSocketUpgradeHandler |
WebSocketUpgradeHandler.Builder |
removeWebSocketListener(WebSocketListener listener)
Remove a
WebSocketListener |
public WebSocketUpgradeHandler.Builder addWebSocketListener(WebSocketListener listener)
WebSocketListener
that will be added to the WebSocket
listener
- a WebSocketListener
public WebSocketUpgradeHandler.Builder removeWebSocketListener(WebSocketListener listener)
WebSocketListener
listener
- a WebSocketListener
public WebSocketUpgradeHandler build()
WebSocketUpgradeHandler
WebSocketUpgradeHandler
Copyright © 2014. All Rights Reserved.