public class WebSocketEndpointConfig extends Object
| 构造器和说明 |
|---|
WebSocketEndpointConfig(String host,
int port,
int bossLoopGroupThreads,
int workerLoopGroupThreads,
boolean useCompressionHandler,
int connectTimeoutMillis,
int soBacklog,
int writeSpinCount,
int writeBufferHighWaterMark,
int writeBufferLowWaterMark,
int soRcvbuf,
int soSndbuf,
boolean tcpNodelay,
boolean soKeepalive,
int soLinger,
boolean allowHalfClosure,
int readerIdleTimeSeconds,
int writerIdleTimeSeconds,
int allIdleTimeSeconds,
int maxFramePayloadLength,
boolean useEventExecutorGroup,
int eventExecutorGroupThreads,
String keyPassword,
String keyStore,
String keyStorePassword,
String keyStoreType,
String trustStore,
String trustStorePassword,
String trustStoreType,
String[] corsOrigins,
Boolean corsAllowCredentials) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAllIdleTimeSeconds() |
int |
getBossLoopGroupThreads() |
int |
getConnectTimeoutMillis() |
Boolean |
getCorsAllowCredentials() |
String[] |
getCorsOrigins() |
int |
getEventExecutorGroupThreads() |
String |
getHost() |
String |
getKeyPassword() |
String |
getKeyStore() |
String |
getKeyStorePassword() |
String |
getKeyStoreType() |
int |
getMaxFramePayloadLength() |
int |
getPort() |
static Integer |
getRandomPort() |
int |
getReaderIdleTimeSeconds() |
int |
getSoBacklog() |
int |
getSoLinger() |
int |
getSoRcvbuf() |
int |
getSoSndbuf() |
String |
getTrustStore() |
String |
getTrustStorePassword() |
String |
getTrustStoreType() |
int |
getWorkerLoopGroupThreads() |
int |
getWriteBufferHighWaterMark() |
int |
getWriteBufferLowWaterMark() |
int |
getWriterIdleTimeSeconds() |
int |
getWriteSpinCount() |
boolean |
isAllowHalfClosure() |
boolean |
isSoKeepalive() |
boolean |
isTcpNodelay() |
boolean |
isUseCompressionHandler() |
boolean |
isUseEventExecutorGroup() |
public WebSocketEndpointConfig(String host, int port, int bossLoopGroupThreads, int workerLoopGroupThreads, boolean useCompressionHandler, int connectTimeoutMillis, int soBacklog, int writeSpinCount, int writeBufferHighWaterMark, int writeBufferLowWaterMark, int soRcvbuf, int soSndbuf, boolean tcpNodelay, boolean soKeepalive, int soLinger, boolean allowHalfClosure, int readerIdleTimeSeconds, int writerIdleTimeSeconds, int allIdleTimeSeconds, int maxFramePayloadLength, boolean useEventExecutorGroup, int eventExecutorGroupThreads, String keyPassword, String keyStore, String keyStorePassword, String keyStoreType, String trustStore, String trustStorePassword, String trustStoreType, String[] corsOrigins, Boolean corsAllowCredentials)
public String getHost()
public int getPort()
public int getBossLoopGroupThreads()
public int getWorkerLoopGroupThreads()
public boolean isUseCompressionHandler()
public int getConnectTimeoutMillis()
public int getSoBacklog()
public int getWriteSpinCount()
public int getWriteBufferHighWaterMark()
public int getWriteBufferLowWaterMark()
public int getSoRcvbuf()
public int getSoSndbuf()
public boolean isTcpNodelay()
public boolean isSoKeepalive()
public int getSoLinger()
public boolean isAllowHalfClosure()
public static Integer getRandomPort()
public int getReaderIdleTimeSeconds()
public int getWriterIdleTimeSeconds()
public int getAllIdleTimeSeconds()
public int getMaxFramePayloadLength()
public boolean isUseEventExecutorGroup()
public int getEventExecutorGroupThreads()
public String getKeyPassword()
public String getKeyStore()
public String getKeyStorePassword()
public String getKeyStoreType()
public String getTrustStore()
public String getTrustStorePassword()
public String getTrustStoreType()
public String[] getCorsOrigins()
public Boolean getCorsAllowCredentials()
Copyright © 2023 twelvet. All rights reserved.