|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public static interface WebSocketFactory.Acceptor
| 方法摘要 | |
|---|---|
boolean |
checkOrigin(HttpServletRequest request,
String origin)
Checks the origin of an incoming WebSocket handshake request. |
WebSocket |
doWebSocketConnect(HttpServletRequest request,
String protocol)
Factory method that applications needs to implement to return a WebSocket object. |
| 方法详细信息 |
|---|
WebSocket doWebSocketConnect(HttpServletRequest request,
String protocol)
Factory method that applications needs to implement to return a
WebSocket object.
request - the incoming HTTP upgrade requestprotocol - the websocket sub protocol
WebSocket object that will handle websocket events.
boolean checkOrigin(HttpServletRequest request,
String origin)
Checks the origin of an incoming WebSocket handshake request.
request - the incoming HTTP upgrade requestorigin - the origin URI
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||