| 程序包 | 说明 |
|---|---|
| com.xzixi.websocket.interceptablewebsocket.interceptor | |
| com.xzixi.websocket.interceptablewebsocket.util |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FromClientExecutionChain.applyPostHandle(org.springframework.web.socket.WebSocketSession session,
org.springframework.security.core.Authentication authentication,
MessageFromClient message,
org.springframework.messaging.MessageChannel outputChannel,
org.springframework.web.socket.messaging.StompSubProtocolHandler handler) |
boolean |
FromClientExecutionChain.applyPreHandle(org.springframework.web.socket.WebSocketSession session,
org.springframework.security.core.Authentication authentication,
MessageFromClient message,
org.springframework.messaging.MessageChannel outputChannel,
org.springframework.web.socket.messaging.StompSubProtocolHandler handler) |
default void |
FromClientInterceptor.postHandle(org.springframework.web.socket.WebSocketSession session,
org.springframework.security.core.Authentication authentication,
MessageFromClient message,
org.springframework.messaging.MessageChannel outputChannel,
org.springframework.web.socket.messaging.StompSubProtocolHandler handler)
后置处理
|
default boolean |
FromClientInterceptor.preHandle(org.springframework.web.socket.WebSocketSession session,
org.springframework.security.core.Authentication authentication,
MessageFromClient message,
org.springframework.messaging.MessageChannel outputChannel,
org.springframework.web.socket.messaging.StompSubProtocolHandler handler)
前置处理
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
MessageMatcher.matches(String pattern,
String type,
MessageFromClient message)
验证客户端消息的主题和类型
|
Copyright © 2019. All rights reserved.