Skip navigation links
A B C D E G H I M N O P R S T V W Z 

A

asyncHandle(SessionHandler) - Method in class zjtech.websocket.termination.core.PingPongHandler
Asynchronously handle PING/PONG message.

B

BaseRequest - Class in zjtech.websocket.termination.api
 
BaseRequest() - Constructor for class zjtech.websocket.termination.api.BaseRequest
 
BeanName() - Constructor for class zjtech.websocket.termination.common.Constants.BeanName
 

C

cache(SessionHandler) - Method in interface zjtech.websocket.termination.core.ISessionHolder
 
cache(SessionHandler) - Method in class zjtech.websocket.termination.core.MemorySessionHolder
 
clientConnectedEventBus - Static variable in class zjtech.websocket.termination.common.Constants.BeanName
 
clientConnectedEventBus(IClientConnectionListener) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
Init a event bus for handling client connection.
clientConnectionListener(ISessionHolder) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
clientDisConnectedEventBus - Static variable in class zjtech.websocket.termination.common.Constants.BeanName
 
clientDisConnectedEventBus(IClientConnectionListener) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
Init a event bus for handling client disconnection.
close() - Method in class zjtech.websocket.termination.core.SessionHandler
Blocking close for a websocket session.
closeSession(String) - Method in class zjtech.websocket.termination.actuate.WebSocketMessageEndPoint
Remove a WebSocketSession by session id.
commandMappingHandler(WsConnectionConfigProps) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
CommandMappingHandler - Class in zjtech.websocket.termination.core
 
CommandMappingHandler(WsConnectionConfigProps) - Constructor for class zjtech.websocket.termination.core.CommandMappingHandler
 
CommandMappingHandler.ConsumerInfo - Class in zjtech.websocket.termination.core
 
connect(SessionHandler) - Method in class zjtech.websocket.termination.core.DefaultClientConnectionListener
 
connect(SessionHandler) - Method in interface zjtech.websocket.termination.core.IClientConnectionListener
 
Constants - Class in zjtech.websocket.termination.common
 
Constants() - Constructor for class zjtech.websocket.termination.common.Constants
 
Constants.BeanName - Class in zjtech.websocket.termination.common
 
Consume - Annotation Type in zjtech.websocket.termination.core
 
ConsumerContext<T extends Request> - Class in zjtech.websocket.termination.core
 
ConsumerContext() - Constructor for class zjtech.websocket.termination.core.ConsumerContext
 
ConsumerInfo(Class<?>, Method) - Constructor for class zjtech.websocket.termination.core.CommandMappingHandler.ConsumerInfo
 
convertJsonNode(String) - Method in class zjtech.websocket.termination.common.WsUtils
Convert the JSON string to JSON node.
convertString(T) - Method in class zjtech.websocket.termination.common.WsUtils
Convert a object to string data.

D

DefaultClientConnectionListener - Class in zjtech.websocket.termination.core
 
DefaultClientConnectionListener(ISessionHolder) - Constructor for class zjtech.websocket.termination.core.DefaultClientConnectionListener
 
DefaultWebSocketHandler - Class in zjtech.websocket.termination.core
 
DefaultWebSocketHandler(WsUtils) - Constructor for class zjtech.websocket.termination.core.DefaultWebSocketHandler
 
disConnect(SessionHandler) - Method in class zjtech.websocket.termination.core.DefaultClientConnectionListener
 
disConnect(SessionHandler) - Method in interface zjtech.websocket.termination.core.IClientConnectionListener
 

E

ErrorResponse - Class in zjtech.websocket.termination.api
 
ErrorResponse() - Constructor for class zjtech.websocket.termination.api.ErrorResponse
 

G

getApiPackage() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.ScanPackage
 
getBean(Class<T>) - Method in class zjtech.websocket.termination.common.WsUtils
 
getClientInfo() - Method in class zjtech.websocket.termination.core.SessionHandler
 
getCommand() - Method in class zjtech.websocket.termination.api.ErrorResponse
 
getCommand() - Method in class zjtech.websocket.termination.common.RequestWrapper
 
getCommand() - Method in class zjtech.websocket.termination.core.ConsumerContext
 
getCommand() - Method in interface zjtech.websocket.termination.core.IConsumerContext
 
getConsumeClass() - Method in class zjtech.websocket.termination.core.CommandMappingHandler.ConsumerInfo
 
getConsumeInfo(String) - Method in class zjtech.websocket.termination.core.CommandMappingHandler
 
getEndpoint() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
getErrorCode() - Method in class zjtech.websocket.termination.api.ErrorResponse
 
getErrorCode() - Method in exception zjtech.websocket.termination.common.WsConnectionException
 
getErrorMessage() - Method in class zjtech.websocket.termination.api.ErrorResponse
 
getHeader() - Method in class zjtech.websocket.termination.common.RequestWrapper
 
getHeaders() - Method in class zjtech.websocket.termination.core.ConsumerContext
 
getInterval() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
getMappingInfo() - Method in class zjtech.websocket.termination.core.CommandMappingHandler
Get current mapping info.
getMethod() - Method in class zjtech.websocket.termination.core.CommandMappingHandler.ConsumerInfo
 
getOrder() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
getPayload() - Method in class zjtech.websocket.termination.common.RequestWrapper
 
getPayload() - Method in class zjtech.websocket.termination.core.ConsumerContext
 
getPayload() - Method in interface zjtech.websocket.termination.core.IConsumerContext
 
getPing() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
getRawException() - Method in exception zjtech.websocket.termination.common.WsConnectionException
 
getRequestClass(String) - Method in class zjtech.websocket.termination.core.CommandMappingHandler
Get entity class by command.
getRetries() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
getScan() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
getSession() - Method in class zjtech.websocket.termination.core.SessionHandler
 
getSessionHandler() - Method in class zjtech.websocket.termination.core.ConsumerContext
 
getSessionHandler() - Method in interface zjtech.websocket.termination.core.IConsumerContext
 
getSessionHandler(String) - Method in interface zjtech.websocket.termination.core.ISessionHolder
 
getSessionHandler(String) - Method in class zjtech.websocket.termination.core.MemorySessionHolder
 
getSessionId() - Method in class zjtech.websocket.termination.core.SessionHandler
 
getSessionList() - Method in interface zjtech.websocket.termination.core.ISessionHolder
 
getSessionList() - Method in class zjtech.websocket.termination.core.MemorySessionHolder
 
getStats() - Method in class zjtech.websocket.termination.actuate.WebSocketConnectionEndPoint
 

H

handle(WebSocketSession) - Method in class zjtech.websocket.termination.core.DefaultWebSocketHandler
 
handle(SessionHandler) - Method in class zjtech.websocket.termination.core.MessageHandler
Get the message and construct a ConsumerContext for consumer.
handle(WebSocketSession) - Method in class zjtech.websocket.termination.core.SessionHandler
Handle the session.
handlerAdapter() - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 

I

IClientConnectionListener - Interface in zjtech.websocket.termination.core
 
IConsumerContext<T> - Interface in zjtech.websocket.termination.core
 
init() - Method in class zjtech.websocket.termination.core.CommandMappingHandler
Find the custom annotations.
IRequestParser - Interface in zjtech.websocket.termination.core
 
isConnected() - Method in class zjtech.websocket.termination.core.SessionHandler
 
isEnabled() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
isEnabled() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
ISessionHolder - Interface in zjtech.websocket.termination.core
 
isSupressLog() - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 

M

MemorySessionHolder - Class in zjtech.websocket.termination.core
 
MemorySessionHolder() - Constructor for class zjtech.websocket.termination.core.MemorySessionHolder
 
MessageConsumer - Annotation Type in zjtech.websocket.termination.core
 
messageHandler(WsUtils, CommandMappingHandler) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
MessageHandler - Class in zjtech.websocket.termination.core
 
MessageHandler(IRequestParser, CommandMappingHandler, WsUtils) - Constructor for class zjtech.websocket.termination.core.MessageHandler
Constructor.

N

notifyConnect() - Method in class zjtech.websocket.termination.core.SessionHandler
 
notifyDisconnect() - Method in class zjtech.websocket.termination.core.SessionHandler
 

O

objectMapper() - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 

P

parse(String) - Method in interface zjtech.websocket.termination.core.IRequestParser
 
parse(String) - Method in class zjtech.websocket.termination.core.RequestParser
Parse the message in text format and finally construct a RequestWrapper object.
PingConfigProps() - Constructor for class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
pingPongHandler(WsConnectionConfigProps) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
PingPongHandler - Class in zjtech.websocket.termination.core
 
PingPongHandler(WsConnectionConfigProps) - Constructor for class zjtech.websocket.termination.core.PingPongHandler
 
pong() - Method in class zjtech.websocket.termination.core.SessionHandler
 

R

receive() - Method in class zjtech.websocket.termination.core.SessionHandler
 
remove(String) - Method in interface zjtech.websocket.termination.core.ISessionHolder
 
remove(SessionHandler) - Method in interface zjtech.websocket.termination.core.ISessionHolder
 
remove(String) - Method in class zjtech.websocket.termination.core.MemorySessionHolder
 
remove(SessionHandler) - Method in class zjtech.websocket.termination.core.MemorySessionHolder
 
Request - Interface in zjtech.websocket.termination.api
 
requestParser(WsUtils, CommandMappingHandler) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
RequestParser - Class in zjtech.websocket.termination.core
 
RequestParser(WsUtils, CommandMappingHandler) - Constructor for class zjtech.websocket.termination.core.RequestParser
 
RequestWrapper<T extends Request> - Class in zjtech.websocket.termination.common
 
RequestWrapper() - Constructor for class zjtech.websocket.termination.common.RequestWrapper
 
Response - Interface in zjtech.websocket.termination.api
 

S

ScanPackage() - Constructor for class zjtech.websocket.termination.config.WsConnectionConfigProps.ScanPackage
 
send(WebSocketMessage) - Method in class zjtech.websocket.termination.core.SessionHandler
Send the raw websocket message.
send(WebSocketMessage, WebSocketSession) - Method in class zjtech.websocket.termination.core.SessionHandler
Send the raw websocket message.
sendJsonString(Object) - Method in class zjtech.websocket.termination.core.SessionHandler
Send a object in json format.
sendJsonString(Object, WebSocketSession) - Method in class zjtech.websocket.termination.core.SessionHandler
Send a object in json format.
sendMessageToClient(String, String) - Method in class zjtech.websocket.termination.actuate.WebSocketMessageEndPoint
Send a text message to client.
sendText(String) - Method in class zjtech.websocket.termination.core.SessionHandler
Send a string to client.
sendText(String, WebSocketSession) - Method in class zjtech.websocket.termination.core.SessionHandler
Send a string to client.
sessionHandler(WsUtils, WsConnectionConfigProps, EmitterProcessor<SessionHandler>, EmitterProcessor<SessionHandler>) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
SessionHandler - Class in zjtech.websocket.termination.core
 
SessionHandler(WsUtils, WsConnectionConfigProps, EmitterProcessor<SessionHandler>, EmitterProcessor<SessionHandler>) - Constructor for class zjtech.websocket.termination.core.SessionHandler
Constructor.
sessionHolder() - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
Register a session holder bean for maintaining the websocket session in memory.
setApiPackage(String) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.ScanPackage
 
setApplicationContext(ApplicationContext) - Method in class zjtech.websocket.termination.core.CommandMappingHandler
 
setCommand(String) - Method in class zjtech.websocket.termination.api.ErrorResponse
 
setCommand(String) - Method in class zjtech.websocket.termination.common.RequestWrapper
 
setCommand(String) - Method in class zjtech.websocket.termination.core.ConsumerContext
 
setConsumeClass(Class<?>) - Method in class zjtech.websocket.termination.core.CommandMappingHandler.ConsumerInfo
 
setEnabled(boolean) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
setEnabled(boolean) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
setEndpoint(String) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
setErrorCode(int) - Method in class zjtech.websocket.termination.api.ErrorResponse
 
setErrorMessage(String) - Method in class zjtech.websocket.termination.api.ErrorResponse
 
setHeader(Map<String, ?>) - Method in class zjtech.websocket.termination.common.RequestWrapper
 
setHeaders(Map<String, ?>) - Method in class zjtech.websocket.termination.core.ConsumerContext
 
setInterval(int) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
setMethod(Method) - Method in class zjtech.websocket.termination.core.CommandMappingHandler.ConsumerInfo
 
setOrder(int) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
setPayload(T) - Method in class zjtech.websocket.termination.common.RequestWrapper
 
setPayload(T) - Method in class zjtech.websocket.termination.core.ConsumerContext
 
setPing(WsConnectionConfigProps.PingConfigProps) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
setRetries(int) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 
setScan(WsConnectionConfigProps.ScanPackage) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps
 
setSessionHandler(SessionHandler) - Method in class zjtech.websocket.termination.core.ConsumerContext
 
setSupressLog(boolean) - Method in class zjtech.websocket.termination.config.WsConnectionConfigProps.PingConfigProps
 

T

treeToValue(TreeNode, Class<T>) - Method in class zjtech.websocket.termination.common.WsUtils
Bind data given JSON tree * contains into specific value.

V

valueOf(String) - Static method in enum zjtech.websocket.termination.common.WsErrorCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum zjtech.websocket.termination.common.WsErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

webSocketClient() - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
WebSocketCommand - Annotation Type in zjtech.websocket.termination.api
 
WebSocketConnectionEndPoint - Class in zjtech.websocket.termination.actuate
 
WebSocketConnectionEndPoint(ISessionHolder, CommandMappingHandler) - Constructor for class zjtech.websocket.termination.actuate.WebSocketConnectionEndPoint
 
webSocketConnectionEndPoint(CommandMappingHandler, ISessionHolder) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
webSocketHandler(WsUtils) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
webSocketHandlerMapping(WsConnectionConfigProps, WsUtils) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
Initialize a handler mapping for websocket.
WebSocketMessageEndPoint - Class in zjtech.websocket.termination.actuate
 
WebSocketMessageEndPoint(ISessionHolder) - Constructor for class zjtech.websocket.termination.actuate.WebSocketMessageEndPoint
 
webSocketMessageEndPoint(CommandMappingHandler, ISessionHolder) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
WsConnectionAutoConfigure - Class in zjtech.websocket.termination.config
 
WsConnectionAutoConfigure() - Constructor for class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 
WsConnectionConfigProps - Class in zjtech.websocket.termination.config
 
WsConnectionConfigProps() - Constructor for class zjtech.websocket.termination.config.WsConnectionConfigProps
 
WsConnectionConfigProps.PingConfigProps - Class in zjtech.websocket.termination.config
 
WsConnectionConfigProps.ScanPackage - Class in zjtech.websocket.termination.config
 
WsConnectionException - Exception in zjtech.websocket.termination.common
 
WsConnectionException(WsErrorCode) - Constructor for exception zjtech.websocket.termination.common.WsConnectionException
 
WsConnectionException(WsErrorCode, Throwable) - Constructor for exception zjtech.websocket.termination.common.WsConnectionException
Constructor.
WsConnectionException(Throwable) - Constructor for exception zjtech.websocket.termination.common.WsConnectionException
 
WsErrorCode - Enum in zjtech.websocket.termination.common
 
WsUtils - Class in zjtech.websocket.termination.common
 
WsUtils(ObjectMapper, ApplicationContext) - Constructor for class zjtech.websocket.termination.common.WsUtils
 
wsUtils(ApplicationContext) - Method in class zjtech.websocket.termination.config.WsConnectionAutoConfigure
 

Z

zjtech.websocket.termination.actuate - package zjtech.websocket.termination.actuate
 
zjtech.websocket.termination.api - package zjtech.websocket.termination.api
 
zjtech.websocket.termination.common - package zjtech.websocket.termination.common
 
zjtech.websocket.termination.config - package zjtech.websocket.termination.config
 
zjtech.websocket.termination.core - package zjtech.websocket.termination.core
 
A B C D E G H I M N O P R S T V W Z 
Skip navigation links