List of usage examples for io.netty.handler.codec.http2 Http2CodecUtil MIN_HEADER_TABLE_SIZE
long MIN_HEADER_TABLE_SIZE
To view the source code for io.netty.handler.codec.http2 Http2CodecUtil MIN_HEADER_TABLE_SIZE.
Click Source Link
From source file:io.vertx.core.http.Http2Settings.java
License:Open Source License
/** * Set {@literal SETTINGS_HEADER_TABLE_SIZE} HTTP/2 setting. * * @param headerTableSize the new value/* w ww . j av a 2s . co m*/ * @return a reference to this, so the API can be used fluently */ public Http2Settings setHeaderTableSize(long headerTableSize) { Arguments.require(headerTableSize >= Http2CodecUtil.MIN_HEADER_TABLE_SIZE, "headerTableSize must be >= " + Http2CodecUtil.MIN_HEADER_TABLE_SIZE); Arguments.require(headerTableSize <= Http2CodecUtil.MAX_HEADER_TABLE_SIZE, "headerTableSize must be <= " + Http2CodecUtil.MAX_HEADER_TABLE_SIZE); this.headerTableSize = headerTableSize; return this; }