public static interface Protocol.Http2ProtocolOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowConnect()
[#not-implemented-hide:] Hiding until nghttp2 has native support.
|
com.google.protobuf.UInt32Value |
getHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
com.google.protobuf.UInt32ValueOrBuilder |
getHpackTableSizeOrBuilder()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
com.google.protobuf.UInt32Value |
getInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
com.google.protobuf.UInt32ValueOrBuilder |
getInitialConnectionWindowSizeOrBuilder()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
com.google.protobuf.UInt32Value |
getInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
com.google.protobuf.UInt32ValueOrBuilder |
getInitialStreamWindowSizeOrBuilder()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
com.google.protobuf.UInt32Value |
getMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
boolean |
hasHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
boolean |
hasInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
boolean |
hasInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
boolean |
hasMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;com.google.protobuf.UInt32Value getHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;com.google.protobuf.UInt32ValueOrBuilder getHpackTableSizeOrBuilder()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;boolean hasMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }boolean hasInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getInitialStreamWindowSizeOrBuilder()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }boolean hasInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getInitialConnectionWindowSizeOrBuilder()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }boolean getAllowConnect()
[#not-implemented-hide:] Hiding until nghttp2 has native support. Allows proxying Websocket and other upgrades over H2 connect. THIS IS NOT SAFE TO USE IN PRODUCTION This currently works via disabling all HTTP sanity checks for H2 traffic which is a much larger hammer than we'd like to use. Eventually when https://github.com/nghttp2/nghttp2/issues/1181 is resolved, this will work with simply enabling CONNECT for H2. This may require some tweaks to the headers making pre-CONNECT-support proxying not backwards compatible with post-CONNECT-support proxying.
bool allow_connect = 5;Copyright © 2019 WSO2. All rights reserved.