public abstract class BaseWebSocketHandler extends Object implements WebSocketHandler
| Constructor and Description |
|---|
BaseWebSocketHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
List<String> |
getSubProtocols() |
boolean |
hasAccess(javax.servlet.http.HttpServletRequest req) |
void |
setPath(String path) |
void |
setSubProtocols(String... protocols) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewEndpointpublic final String getPath()
getPath in interface WebSocketHandlerpublic final List<String> getSubProtocols()
getSubProtocols in interface WebSocketHandlerpublic final void setPath(String path)
public final void setSubProtocols(String... protocols)
public boolean hasAccess(javax.servlet.http.HttpServletRequest req)
hasAccess in interface WebSocketHandler