NativeWebSocketConfiguration, WebSocketUpgradeFilter, WebSocketUpgradeHandlerWrapperpublic interface MappedWebSocketCreator
| Modifier and Type | Method | Description |
|---|---|---|
void |
addMapping(java.lang.String spec,
WebSocketCreator creator) |
Add a mapping, of a pathspec to a WebSocketCreator.
|
void |
addMapping(org.eclipse.jetty.http.pathmap.PathSpec spec,
WebSocketCreator creator) |
Add a mapping.
|
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) |
WebSocketCreator |
getMapping(java.lang.String spec) |
/**
Returns the creator for the given path spec.
|
boolean |
removeMapping(java.lang.String spec) |
Removes the mapping based on the given path spec.
|
void addMapping(java.lang.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(org.eclipse.jetty.http.pathmap.PathSpec spec,
WebSocketCreator creator)
spec - the path spec to usecreator - the creator for the mappingWebSocketCreator getMapping(java.lang.String spec)
spec - the spec to test for (using the same spec syntax as seen in addMapping(String, WebSocketCreator))boolean removeMapping(java.lang.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.