public class WebsocketMethodMapping extends Object
| 构造器和说明 |
|---|
WebsocketMethodMapping(org.springframework.context.ApplicationContext context,
org.springframework.beans.factory.support.AbstractBeanFactory beanFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildParameters() |
Object[] |
getBeforeHandshakeArgs(io.netty.channel.Channel channel,
io.netty.handler.codec.http.FullHttpRequest req) |
Object[] |
getOnBinaryArgs(io.netty.channel.Channel channel,
io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame binaryWebSocketFrame) |
Object[] |
getOnCloseArgs(io.netty.channel.Channel channel) |
Object[] |
getOnErrorArgs(io.netty.channel.Channel channel,
Throwable throwable) |
Object[] |
getOnEventArgs(io.netty.channel.Channel channel,
Object evt) |
Object[] |
getOnMessageArgs(io.netty.channel.Channel channel,
io.netty.handler.codec.http.websocketx.TextWebSocketFrame textWebSocketFrame) |
Object[] |
getOnOpenArgs(io.netty.channel.Channel channel,
io.netty.handler.codec.http.FullHttpRequest req) |
public WebsocketMethodMapping(org.springframework.context.ApplicationContext context,
org.springframework.beans.factory.support.AbstractBeanFactory beanFactory)
throws WebsocketCommonException
public void buildParameters()
throws WebsocketCommonException
public Object[] getBeforeHandshakeArgs(io.netty.channel.Channel channel, io.netty.handler.codec.http.FullHttpRequest req) throws Exception
Exceptionpublic Object[] getOnOpenArgs(io.netty.channel.Channel channel, io.netty.handler.codec.http.FullHttpRequest req) throws Exception
Exceptionpublic Object[] getOnCloseArgs(io.netty.channel.Channel channel) throws Exception
Exceptionpublic Object[] getOnErrorArgs(io.netty.channel.Channel channel, Throwable throwable) throws Exception
Exceptionpublic Object[] getOnMessageArgs(io.netty.channel.Channel channel, io.netty.handler.codec.http.websocketx.TextWebSocketFrame textWebSocketFrame) throws Exception
Exceptionpublic Object[] getOnBinaryArgs(io.netty.channel.Channel channel, io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame binaryWebSocketFrame) throws Exception
ExceptionCopyright © 2022. All rights reserved.