| Modifier and Type | Method and Description |
|---|---|
| public void | addMapping(String
the pathspec to respond on pathSpec, JettyWebSocketCreator the WebSocketCreator to use creator)Add a WebSocket mapping to a provided |
| public Set | Returns: a set the available extension names.Get the names of all available WebSocket Extensions. |
| public JettyWebSocketCreator | Returns: the websocket creator if path spec exists, or nullthe pathspec to respond on pathSpec)Returns the creator for the given path spec. |
| public void | |
| public boolean | Returns: true if underlying mapping were altered, false otherwisethe pathspec to respond on pathSpec)Removes the mapping based on the given path spec. |
| public void | setCreator(JettyWebSocketCreator
the WebSocketCreator to use creator)Add a WebSocket mapping at PathSpec "/" for a creator |
| addMapping | back to summary |
|---|---|
| public void addMapping(String pathSpec, JettyWebSocketCreator creator) Add a WebSocket mapping to a provided If mapping is added before this configuration is started, then it is persisted through stop/start of this configuration's lifecycle. Otherwise it will be removed when this configuration is stopped.
| |
| getAvailableExtensionNames | back to summary |
|---|---|
| public Set Get the names of all available WebSocket Extensions. | |
| getMapping | back to summary |
|---|---|
| public JettyWebSocketCreator getMapping(String pathSpec) Returns the creator for the given path spec.
| |
| register | back to summary |
|---|---|
| public void register(Class<?> endpointClass) Add a WebSocket mapping at PathSpec "/" for a creator which creates the endpointClass
| |
| removeMapping | back to summary |
|---|---|
| public boolean removeMapping(String pathSpec) Removes the mapping based on the given path spec.
| |
| setCreator | back to summary |
|---|---|
| public void setCreator(JettyWebSocketCreator creator) Add a WebSocket mapping at PathSpec "/" for a creator
| |