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, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintlonglonglonglongintio.netty.channel.ChannelHandlerintintintintgetKmf()intintio.netty.channel.ChannelHandlerintio.netty.channel.ChannelHandlerio.netty.handler.codec.http.HttpHeadersintintintintintString[]intString[]io.netty.handler.ssl.SslProvidergetTmf()intio.netty.channel.ChannelHandlerintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidsetGuiceInjector(com.google.inject.Injector _injector) voidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, instance, load, loadField, name, reset, temp, updateConfigFile, updateFilePath
-
Field Details
-
cfg
-
-
Constructor Details
-
NioConfig
protected NioConfig()
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
getServerDefaultResponseHeaders
public io.netty.handler.codec.http.HttpHeaders getServerDefaultResponseHeaders() -
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws Exception - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
Exception
-
getBizExecutor
-
setGuiceInjector
public 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() -
getWebSockettHandler
public io.netty.channel.ChannelHandler getWebSockettHandler() -
isWebSocketCompress
public boolean isWebSocketCompress() -
getWebSocketMaxFrameSize
public int getWebSocketMaxFrameSize() -
getWebSocketSubprotocols
-
isWebSocketAllowExtensions
public boolean isWebSocketAllowExtensions() -
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() -
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() -
isFromJsonCaseInsensitive
public boolean isFromJsonCaseInsensitive() -
isFromJsonFailOnUnknownProperties
public boolean isFromJsonFailOnUnknownProperties() -
isToJsonIgnoreNull
public boolean isToJsonIgnoreNull() -
isToJsonPretty
public boolean isToJsonPretty() -
getFielUploadHandlerAnnotatedName
-
getPingHandlerAnnotatedName
-
getRequestHandlerAnnotatedName
-
getWebSocketHandlerAnnotatedName
-
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
-