InboundHttp2ToHttpAdapter.
| Access | Constructor and Description |
|---|---|
| public | InboundHttp2ToHttpAdapterBuilder(Http2Connection
the object which will provide connection notification events
for the current connection connection)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public InboundHttp2ToHttpAdapter | build()
Overrides io. InboundHttp2ToHttpAdapter instance using this builder's current settings.
|
| protected InboundHttp2ToHttpAdapter | build(Http2Connection connection, int maxContentLength, boolean validateHttpHeaders, boolean propagateSettings)
Implements abstract io. InboundHttp2ToHttpAdapter with the specified properties.
|
| public InboundHttp2ToHttpAdapterBuilder | maxContentLength(int
the maximum length of the message content. If the length of the message content
exceeds this value, a maxContentLength)TooLongFrameException will be raisedOverrides io. |
| public InboundHttp2ToHttpAdapterBuilder | propagateSettings(boolean
if propagate)true read settings will be passed along the pipeline. This can be useful
to clients that need hold off sending data until they have received the settings.Overrides io. |
| public InboundHttp2ToHttpAdapterBuilder | validateHttpHeaders(boolean
Overrides io. |
| InboundHttp2ToHttpAdapterBuilder | back to summary |
|---|---|
| public InboundHttp2ToHttpAdapterBuilder(Http2Connection connection) Creates a new
| |
| build | back to summary |
|---|---|
| public InboundHttp2ToHttpAdapter build() Overrides io. Doc from io. Builds/creates a new
| |
| build | back to summary |
|---|---|
| protected InboundHttp2ToHttpAdapter build(Http2Connection connection, int maxContentLength, boolean validateHttpHeaders, boolean propagateSettings) throws Exception Implements abstract io. Doc from io. Creates a new
| |
| maxContentLength | back to summary |
|---|---|
| public InboundHttp2ToHttpAdapterBuilder maxContentLength(int maxContentLength) Overrides io. Doc from io. Specifies the maximum length of the message content.
| |
| propagateSettings | back to summary |
|---|---|
| public InboundHttp2ToHttpAdapterBuilder propagateSettings(boolean propagate) Overrides io. Doc from io. Specifies whether a read settings frame should be propagated along the channel pipeline.
| |
| validateHttpHeaders | back to summary |
|---|---|
| public InboundHttp2ToHttpAdapterBuilder validateHttpHeaders(boolean validate) Overrides io. Doc from io. Specifies whether validation of HTTP headers should be performed.
| |