Package org.glassfish.grizzly.http2
Class Http2Configuration.Http2ConfigurationBuilder
java.lang.Object
org.glassfish.grizzly.http2.Http2Configuration.Http2ConfigurationBuilder
- Enclosing class:
- Http2Configuration
-
Method Summary
Modifier and TypeMethodDescriptionbuild()cleanFrequencyCheck(int val) cleanPercentage(float val) disableCipherCheck(boolean val) enablePush(boolean val) Specifies a pre-existingExecutorServicefor handling HTTP/2 streams.initialWindowSize(int val) maxConcurrentStreams(int val) maxFramePayloadSize(int val) maxHeaderListSize(int val) priorKnowledge(boolean val) streamsHighWaterMark(float val) Specifies a thread pool configuration that will be used to create a newExecutorServicehandling HTTP/2 streams.
-
Method Details
-
maxConcurrentStreams
-
initialWindowSize
-
maxFramePayloadSize
-
maxHeaderListSize
-
disableCipherCheck
-
threadPoolConfig
Specifies a thread pool configuration that will be used to create a newExecutorServicehandling HTTP/2 streams. -
executorService
Specifies a pre-existingExecutorServicefor handling HTTP/2 streams. If called, it will clear any value set previously bythreadPoolConfig(ThreadPoolConfig). -
priorKnowledge
-
enablePush
-
streamsHighWaterMark
-
cleanPercentage
-
cleanFrequencyCheck
-
build
- Returns:
- a new
Http2Configurationinstances based on the values of this builder.
-