Package com.linkedin.alpini.netty4.http2
Class Http2PipelineInitializer.Builder<T extends Http2PipelineInitializer.Builder<T>>
java.lang.Object
com.linkedin.alpini.netty4.http2.Http2PipelineInitializer.Builder<T>
- Enclosing class:
- Http2PipelineInitializer
public abstract static class Http2PipelineInitializer.Builder<T extends Http2PipelineInitializer.Builder<T>>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactiveStreamsCountHandler
(ActiveStreamsCountHandler activeStreamsCountHandler) abstract Http2PipelineInitializer
build()
existingHttpPipelineInitializer
(Consumer<io.netty.channel.ChannelPipeline> existingHttpPipelineInitializer) Consumer<io.netty.channel.ChannelPipeline>
io.netty.handler.codec.http2.Http2Settings
int
int
int
int
http2Settings
(io.netty.handler.codec.http2.Http2Settings http2Settings) http2SettingsFrameLogger
(Http2SettingsFrameLogger http2SettingsFrameLogger) boolean
maxChunkSize
(int maxChunkSize) maxHeaderSize
(int maxHeaderSize) maxInitialLineLength
(int maxInitialLineLength) protected T
self()
validateHeaders
(boolean validateHeaders) writeTimeoutSeconds
(int writeTimeoutSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
-
getHttp2Settings
@Nonnull public io.netty.handler.codec.http2.Http2Settings getHttp2Settings() -
http2Settings
-
getActiveStreamsCountHandler
-
activeStreamsCountHandler
@Nonnull public T activeStreamsCountHandler(@Nonnull ActiveStreamsCountHandler activeStreamsCountHandler) -
getHttp2SettingsFrameLogger
-
http2SettingsFrameLogger
-
getExistingHttpPipelineInitializer
-
existingHttpPipelineInitializer
-
getMaxInitialLineLength
@Nonnegative public int getMaxInitialLineLength() -
maxInitialLineLength
-
getMaxHeaderSize
@Nonnegative public int getMaxHeaderSize() -
maxHeaderSize
-
getMaxChunkSize
@Nonnegative public int getMaxChunkSize() -
maxChunkSize
-
getWriteTimeoutSeconds
public int getWriteTimeoutSeconds() -
writeTimeoutSeconds
-
isValidateHeaders
public boolean isValidateHeaders() -
validateHeaders
-
build
-