public class PojoEndpointServer extends Object
| 构造器和说明 |
|---|
PojoEndpointServer(PojoMethodMapping methodMapping,
ServerEndpointConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPathPojoMethodMapping(String path,
PojoMethodMapping pojoMethodMapping) |
void |
doOnBinary(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame) |
void |
doOnClose(io.netty.channel.ChannelHandlerContext ctx) |
void |
doOnError(io.netty.channel.ChannelHandlerContext ctx,
Throwable throwable) |
void |
doOnEvent(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
void |
doOnMessage(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame) |
void |
doOnOpen(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest req,
String path,
String originalParam) |
String |
getHost() |
Set<String> |
getPathSet() |
public PojoEndpointServer(PojoMethodMapping methodMapping, ServerEndpointConfig config)
public void doOnOpen(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest req,
String path,
String originalParam)
public void doOnClose(io.netty.channel.ChannelHandlerContext ctx)
public void doOnError(io.netty.channel.ChannelHandlerContext ctx,
Throwable throwable)
public void doOnMessage(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame)
public void doOnBinary(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame)
public void doOnEvent(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
public String getHost()
public void addPathPojoMethodMapping(String path, PojoMethodMapping pojoMethodMapping)
Copyright © 2019. All rights reserved.