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.
|
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 mappingWebSocketCreator getMapping(String spec)
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 © 2010 - 2020 Adobe. All Rights Reserved