public interface MappedWebSocketCreator
| Modifier and Type | Method and Description |
|---|---|
void |
addMapping(PathSpec spec,
WebSocketCreator creator)
Deprecated.
use
addMapping(org.eclipse.jetty.http.pathmap.PathSpec, WebSocketCreator) instead.
(support classes moved to generic jetty-http project) |
void |
addMapping(PathSpec spec,
WebSocketCreator creator)
Add a mapping.
|
void |
addMapping(String spec,
WebSocketCreator creator)
Add a mapping, of a pathspec to a WebSocketCreator.
|
WebSocketCreator |
getMapping(String spec)
Returns the creator for the given path spec.
|
PathMappings<WebSocketCreator> |
getMappings()
Deprecated.
do not use, use
getMapping(String) instead. |
boolean |
removeMapping(String spec)
Removes the mapping based on the given path spec.
|
void addMapping(String spec, WebSocketCreator creator)
Recognized Path Spec syntaxes
/path/to or / or *.ext or servlet|{spec}^{spec} or regex|{spec}uri-template|{spec}spec - the path spec to use.creator - the websocket creator for this specific mapping@Deprecated void addMapping(PathSpec spec, WebSocketCreator creator)
addMapping(org.eclipse.jetty.http.pathmap.PathSpec, WebSocketCreator) instead.
(support classes moved to generic jetty-http project)spec - the path spec to usecreator - the creator for the mappingvoid addMapping(PathSpec spec, WebSocketCreator creator)
spec - the path spec to usecreator - the creator for the mapping@Deprecated PathMappings<WebSocketCreator> getMappings()
getMapping(String) instead.WebSocketCreator getMapping(String spec)
spec - @param spec the spec to test for (using the same spec syntax as seen in addMapping(String, WebSocketCreator))boolean removeMapping(String spec)
spec - the path spec to remove (using the same spec syntax as seen in addMapping(String, WebSocketCreator))Copyright © 1995-2018 Webtide. All Rights Reserved.