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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
activeStreamsCountHandler(ActiveStreamsCountHandler activeStreamsCountHandler)
abstract Http2PipelineInitializer
build()
T
existingHttpPipelineInitializer(java.util.function.Consumer<io.netty.channel.ChannelPipeline> existingHttpPipelineInitializer)
ActiveStreamsCountHandler
getActiveStreamsCountHandler()
java.util.function.Consumer<io.netty.channel.ChannelPipeline>
getExistingHttpPipelineInitializer()
io.netty.handler.codec.http2.Http2Settings
getHttp2Settings()
Http2SettingsFrameLogger
getHttp2SettingsFrameLogger()
int
getMaxChunkSize()
int
getMaxHeaderSize()
int
getMaxInitialLineLength()
int
getWriteTimeoutSeconds()
T
http2Settings(io.netty.handler.codec.http2.Http2Settings http2Settings)
T
http2SettingsFrameLogger(Http2SettingsFrameLogger http2SettingsFrameLogger)
boolean
isValidateHeaders()
T
maxChunkSize(int maxChunkSize)
T
maxHeaderSize(int maxHeaderSize)
T
maxInitialLineLength(int maxInitialLineLength)
protected T
self()
T
validateHeaders(boolean validateHeaders)
T
writeTimeoutSeconds(int writeTimeoutSeconds)
-
-
-
Method Detail
-
self
@Nonnull protected T self()
-
getHttp2Settings
@Nonnull public io.netty.handler.codec.http2.Http2Settings getHttp2Settings()
-
http2Settings
@Nonnull public T http2Settings(@Nonnull io.netty.handler.codec.http2.Http2Settings http2Settings)
-
getActiveStreamsCountHandler
@Nonnull public ActiveStreamsCountHandler getActiveStreamsCountHandler()
-
activeStreamsCountHandler
@Nonnull public T activeStreamsCountHandler(@Nonnull ActiveStreamsCountHandler activeStreamsCountHandler)
-
getHttp2SettingsFrameLogger
public Http2SettingsFrameLogger getHttp2SettingsFrameLogger()
-
http2SettingsFrameLogger
@Nonnull public T http2SettingsFrameLogger(Http2SettingsFrameLogger http2SettingsFrameLogger)
-
getExistingHttpPipelineInitializer
@Nonnull public java.util.function.Consumer<io.netty.channel.ChannelPipeline> getExistingHttpPipelineInitializer()
-
existingHttpPipelineInitializer
@Nonnull public T existingHttpPipelineInitializer(@Nonnull java.util.function.Consumer<io.netty.channel.ChannelPipeline> existingHttpPipelineInitializer)
-
getMaxInitialLineLength
@Nonnegative public int getMaxInitialLineLength()
-
maxInitialLineLength
@Nonnull public T maxInitialLineLength(@Nonnegative int maxInitialLineLength)
-
getMaxHeaderSize
@Nonnegative public int getMaxHeaderSize()
-
maxHeaderSize
@Nonnull public T maxHeaderSize(@Nonnegative int maxHeaderSize)
-
getMaxChunkSize
@Nonnegative public int getMaxChunkSize()
-
maxChunkSize
@Nonnull public T maxChunkSize(@Nonnegative int maxChunkSize)
-
getWriteTimeoutSeconds
public int getWriteTimeoutSeconds()
-
writeTimeoutSeconds
@Nonnull public T writeTimeoutSeconds(@Nonnegative int writeTimeoutSeconds)
-
isValidateHeaders
public boolean isValidateHeaders()
-
validateHeaders
@Nonnull public T validateHeaders(boolean validateHeaders)
-
build
@Nonnull public abstract Http2PipelineInitializer build()
-
-