public class MqttWebConfig extends Object
| 构造器和说明 |
|---|
MqttWebConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHttpBasicPassword() |
String |
getHttpBasicUsername() |
Integer |
getMaxLengthOfHeader() |
Integer |
getMaxLengthOfHeaderLine() |
int |
getWebPort() |
org.tio.core.ssl.SslConfig |
getWebSslConfig() |
boolean |
isHttpEnable() |
boolean |
isWebEnable()
是否开启 web
|
boolean |
isWebsocketEnable() |
void |
setHttpBasicPassword(String httpBasicPassword) |
void |
setHttpBasicUsername(String httpBasicUsername) |
void |
setHttpEnable(boolean httpEnable) |
void |
setMaxLengthOfHeader(Integer maxLengthOfHeader) |
void |
setMaxLengthOfHeaderLine(Integer maxLengthOfHeaderLine) |
void |
setWebPort(int webPort) |
void |
setWebsocketEnable(boolean websocketEnable) |
void |
setWebSslConfig(org.tio.core.ssl.SslConfig webSslConfig) |
String |
toString() |
void |
useWebSsl(InputStream keyStoreInputStream,
InputStream trustStoreInputStream,
String pwd) |
void |
useWebSsl(String keyStoreFile,
String trustStoreFile,
String pwd) |
public boolean isWebEnable()
public int getWebPort()
public void setWebPort(int webPort)
public boolean isWebsocketEnable()
public void setWebsocketEnable(boolean websocketEnable)
public org.tio.core.ssl.SslConfig getWebSslConfig()
public void setWebSslConfig(org.tio.core.ssl.SslConfig webSslConfig)
public boolean isHttpEnable()
public void setHttpEnable(boolean httpEnable)
public String getHttpBasicUsername()
public void setHttpBasicUsername(String httpBasicUsername)
public String getHttpBasicPassword()
public void setHttpBasicPassword(String httpBasicPassword)
public Integer getMaxLengthOfHeader()
public void setMaxLengthOfHeader(Integer maxLengthOfHeader)
public Integer getMaxLengthOfHeaderLine()
public void setMaxLengthOfHeaderLine(Integer maxLengthOfHeaderLine)
public void useWebSsl(InputStream keyStoreInputStream, InputStream trustStoreInputStream, String pwd)
Copyright © 2023. All rights reserved.