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 enumstatic enum -
Field Summary
FieldsFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintlonglonglonglongintio.netty.channel.ChannelHandlerintintintintgetKmf()intintio.netty.channel.ChannelHandlerintio.netty.channel.ChannelHandlerintintintintintString[]intString[]io.netty.handler.ssl.SslProvidergetTmf()intbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidstatic voidsetGuiceInjector(com.google.inject.Injector _injector) voidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, load, loadField, name, temp, updateConfigFile, updateFilePath
-
Field Details
-
CFG
-
-
Constructor Details
-
NioConfig
public NioConfig()
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws Exception - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
Exception
-
setGuiceInjector
public static void setGuiceInjector(com.google.inject.Injector _injector) -
getHttpFileUploadHandler
public io.netty.channel.ChannelHandler getHttpFileUploadHandler() -
getPingHandler
public io.netty.channel.ChannelHandler getPingHandler() -
getRequestHandler
public io.netty.channel.ChannelHandler getRequestHandler() -
isCompressWebSocket
public boolean isCompressWebSocket() -
getBindingAddresses
-
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() -
getSslHandshakeTimeout
public int getSslHandshakeTimeout() -
getSoConnectionTimeout
public int getSoConnectionTimeout() -
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() -
getBizExecutorThreadingMode
-
getBizExecutorCoreSize
public int getBizExecutorCoreSize() -
getBizExecutorMaxSize
public int getBizExecutorMaxSize() -
getBizExecutorQueueSize
public int getBizExecutorQueueSize() -
getBizTimeoutWarnThreshold
public int getBizTimeoutWarnThreshold() -
getReaderIdleTime
public int getReaderIdleTime() -
getWriterIdleTime
public int getWriterIdleTime() -
getHealthInspectionIntervalSeconds
public int getHealthInspectionIntervalSeconds() -
isHttpService
public boolean isHttpService() -
isFromJsonFailOnUnknownProperties
public boolean isFromJsonFailOnUnknownProperties() -
isToJsonIgnoreNull
public boolean isToJsonIgnoreNull() -
isToJsonPretty
public boolean isToJsonPretty() -
getFielUploadHandlerAnnotatedName
-
getPingHandlerAnnotatedName
-
getRequestHandlerAnnotatedName
-
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
-