| 程序包 | 说明 |
|---|---|
| com.alipay.api.java_websocket | |
| com.alipay.api.java_websocket.drafts | |
| com.alipay.api.java_websocket.server |
| 限定符和类型 | 方法和说明 |
|---|---|
WebSocketImpl |
WebSocketServerFactory.createWebSocket(WebSocketAdapter a,
Draft d) |
WebSocketImpl |
WebSocketServerFactory.createWebSocket(WebSocketAdapter a,
List<Draft> drafts) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
SocketChannelIOHelper.batch(WebSocketImpl ws,
ByteChannel sockchannel)
Returns whether the whole outQueue has been flushed
|
static boolean |
SocketChannelIOHelper.read(ByteBuffer buf,
WebSocketImpl ws,
ByteChannel channel) |
static boolean |
SocketChannelIOHelper.readMore(ByteBuffer buf,
WebSocketImpl ws,
WrappedByteChannel channel) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Draft.processFrame(WebSocketImpl webSocketImpl,
Framedata frame)
Handle the frame specific to the draft
|
void |
Draft_6455.processFrame(WebSocketImpl webSocketImpl,
Framedata frame) |
| 限定符和类型 | 方法和说明 |
|---|---|
WebSocketImpl |
DefaultWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
Draft d) |
WebSocketImpl |
DefaultWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
List<Draft> d) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WebSocketServer.WebSocketWorker.put(WebSocketImpl ws) |
protected void |
WebSocketServer.queue(WebSocketImpl ws) |
Copyright © 2025. All rights reserved.