Uses of Class
org.microproxy.Http2Options.Builder
Packages that use Http2Options.Builder
-
Uses of Http2Options.Builder in org.microproxy
Methods in org.microproxy that return Http2Options.BuilderModifier and TypeMethodDescriptionstatic Http2Options.BuilderHttp2Options.builder()Starts a builder with the default settings.Http2Options.Builder.coalesceConnections(boolean coalesce) Lets the proxy's HTTP/2 connections to servers (HttpProxyServerBootstrap.withHttp2Upstream(boolean)) carry requests for other server names than the one each was made for, as RFC 9113 section 9.1.1 allows (default off).Http2Options.Builder.connectionWindowSize(int bytes) The connection's flow-control window (default 1 MiB): the most the proxy buffers for all of a connection's streams together.Http2Options.Builder.initialWindowSize(int bytes) The flow-control window of each stream's request body (default 256 KiB): the most the proxy buffers for a stream whose body it has not read yet.Http2Options.Builder.maxConcurrentStreams(int n) Streams a client may have open at once (default 100).Http2Options.Builder.maxEmptyFrames(int n) Frames that carry nothing, DATA frames with no data and no END_STREAM, per window (default 1000); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.maxHeaderListSize(int bytes) The largest request header section, counted as HTTP/2 counts it (names and values plus 32 octets per field); larger requests have their stream reset. 0 (the default) derives it from the HTTP/1 limits:withMaxHeaderSizepluswithMaxInitialLineLength.Http2Options.Builder.maxPings(int n) PING frames per window (default 100); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.maxRapidResets(int n) Streams the client may reset before their response completes, or open past the concurrency limit, per window (default 100), against the Rapid Reset attack (CVE-2023-44487); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.maxResets(int n) RST_STREAM and PRIORITY frames per window (default 1000); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.maxSettings(int n) SETTINGS frames per window (default 100); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.maxWindowUpdates(int n) WINDOW_UPDATE frames per window (default 10000); more isGOAWAY ENHANCE_YOUR_CALM.Http2Options.Builder.rateWindow(Duration window) The window the rate limits below count frames in (default 10 s).Http2Options.Builder.settingsAckTimeout(Duration timeout) How long the client may take to acknowledge the proxy's SETTINGS (default 10 s) beforeGOAWAY SETTINGS_TIMEOUT.Http2Options.toBuilder()Starts a builder initialized with these settings.