Class NioConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.nio.server.NioConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumNested classes/interfaces inherited from class org.summerboot.jexpress.boot.config.BootConfig
BootConfig.ThreadingMode -
Field Summary
FieldsFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
BR, cfgFile, configName, CPU_CORE, DESC_KMF, DESC_PLAINPWD, DESC_TMF, FILENAME_KEYSTORE, FILENAME_SRC_TRUSTSTORE, generateTemplate, logger, props -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidlonglonglonglonglongintintintintintgetKmf()intintintio.netty.handler.codec.http.HttpHeadersintintintintintString[]intString[]io.netty.handler.ssl.SslProvidergetTmf()intintintlongintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidprotected voidpreLoad(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) voidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
buildThreadPoolExecutor, createIfNotExist, generateTemplate, getCfgFile, getProperties, info, instance, load, loadField, name, temp, updateConfigFile, updateFilePath
-
Field Details
-
cfg
-
-
Constructor Details
-
NioConfig
protected NioConfig()
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
generateTemplate_keystore
-
generateTemplate_ResponseHeaders
-
getServerDefaultResponseHeaders
public io.netty.handler.codec.http.HttpHeaders getServerDefaultResponseHeaders() -
preLoad
- Overrides:
preLoadin classBootConfig
-
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws Exception - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
Exception
-
getBizExecutor
-
isWebSocketCompress
public boolean isWebSocketCompress() -
isWebSocketAllowExtensions
public boolean isWebSocketAllowExtensions() -
getWebSocketMaxFrameSize
public int getWebSocketMaxFrameSize() -
isWebSocketAllowMaskMismatch
public boolean isWebSocketAllowMaskMismatch() -
isWebSocketCheckStartsWith
public boolean isWebSocketCheckStartsWith() -
isWebSocketDropPongFrames
public boolean isWebSocketDropPongFrames() -
getWebSocketHandshakeTimeoutMs
public long getWebSocketHandshakeTimeoutMs() -
getBindingAddresses
-
isAutoStart
public boolean isAutoStart() -
getKmf
-
getTmf
-
isVerifyCertificateHost
public boolean isVerifyCertificateHost() -
getSslProvider
public io.netty.handler.ssl.SslProvider getSslProvider() -
getSslProtocols
-
getSslCipherSuites
-
isSoReuseAddr
public boolean isSoReuseAddr() -
isSoKeepAlive
public boolean isSoKeepAlive() -
isSoTcpNodelay
public boolean isSoTcpNodelay() -
getSoLinger
public int getSoLinger() -
getSslHandshakeTimeoutSeconds
public int getSslHandshakeTimeoutSeconds() -
getSoConnectionTimeoutSeconds
public int getSoConnectionTimeoutSeconds() -
getSoBacklog
public int getSoBacklog() -
getSoRcvBuf
public int getSoRcvBuf() -
getSoSndBuf
public int getSoSndBuf() -
getHttpObjectAggregatorMaxContentLength
public int getHttpObjectAggregatorMaxContentLength() -
getMultiplexer
-
getHttpServerCodec_MaxInitialLineLength
public int getHttpServerCodec_MaxInitialLineLength() -
getHttpServerCodec_MaxHeaderSize
public int getHttpServerCodec_MaxHeaderSize() -
getHttpServerCodec_MaxChunkSize
public int getHttpServerCodec_MaxChunkSize() -
getNioEventLoopGroupAcceptorSize
public int getNioEventLoopGroupAcceptorSize() -
getNioEventLoopGroupWorkerSize
public int getNioEventLoopGroupWorkerSize() -
getTpeThreadingMode
-
getTpeCore
public int getTpeCore() -
getTpeMax
public int getTpeMax() -
getTpeQueue
public int getTpeQueue() -
getBizTimeoutWarnThresholdMs
public long getBizTimeoutWarnThresholdMs() -
getReaderIdleSeconds
public int getReaderIdleSeconds() -
getWriterIdleSeconds
public int getWriterIdleSeconds() -
getHealthInspectionIntervalSeconds
public int getHealthInspectionIntervalSeconds() -
isFromJsonCaseInsensitive
public boolean isFromJsonCaseInsensitive() -
isFromJsonFailOnUnknownProperties
public boolean isFromJsonFailOnUnknownProperties() -
isToJsonIgnoreNull
public boolean isToJsonIgnoreNull() -
isToJsonPretty
public boolean isToJsonPretty() -
getFilterUserType
-
getFilterCallerNameSet
-
getFilterCallerIdSet
-
getFilterCallerIdFrom
public long getFilterCallerIdFrom() -
getFilterCallerIdTo
public long getFilterCallerIdTo() -
getFilterCodeType
-
getFilterCodeSet
-
getFilterCodeRangeFrom
public long getFilterCodeRangeFrom() -
getFilterCodeRangeTo
public long getFilterCodeRangeTo() -
isVerboseReqHeader
public boolean isVerboseReqHeader() -
isVerboseReqContent
public boolean isVerboseReqContent() -
isVerboseRespHeader
public boolean isVerboseRespHeader() -
isVerboseRespContent
public boolean isVerboseRespContent() -
getFilterPOIType
-
getFilterPOISet
-
getRootFolder
-
getDocrootDir
-
getErrorPageFolderName
-
getWelcomePage
-
isDownloadMode
public boolean isDownloadMode() -
getTempUoloadDir
-