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, wait
newEndpoint
public final String getPath()
getPath
in interface WebSocketHandler
public final List<String> getSubProtocols()
getSubProtocols
in interface WebSocketHandler
public final void setPath(String path)
public final void setSubProtocols(String... protocols)
public boolean hasAccess(javax.servlet.http.HttpServletRequest req)
hasAccess
in interface WebSocketHandler