Package com.mikuac.shiro.properties
Class WebSocketClientProperties
java.lang.Object
com.mikuac.shiro.properties.WebSocketClientProperties
@Component
@ConfigurationProperties(prefix="shiro.ws.client")
public class WebSocketClientProperties
extends Object
正向 ws 配置
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean是否启用正向 Websocket 连接断线重连时间(秒)getUrl()ws地址inthashCode()void是否启用正向 Websocket 连接voidsetReconnectInterval(Integer reconnectInterval) 断线重连时间(秒)voidws地址toString()
-
Constructor Details
-
WebSocketClientProperties
public WebSocketClientProperties()
-
-
Method Details
-
getEnable
是否启用正向 Websocket 连接 -
getUrl
ws地址 -
getReconnectInterval
断线重连时间(秒) -
setEnable
是否启用正向 Websocket 连接 -
setUrl
ws地址 -
setReconnectInterval
断线重连时间(秒) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-