Uses of Interface
org.microproxy.HttpProxyServerBootstrap
Packages that use HttpProxyServerBootstrap
Package
Description
OpenTelemetry for MicroProxy, with no dependencies but the JDK: W3C Trace Context, B3 and Jaeger
propagation (
Propagators), sampling (Sampler), a SERVER span per exchange and a CLIENT span per attempt to reach
the server, INTERNAL spans for tunnels and flows, and OTLP/HTTP export of traces, metrics (the
proxy's StatsRegistry) and access logs, as protobuf or JSON (Telemetry).-
Uses of HttpProxyServerBootstrap in org.microproxy
Methods in org.microproxy that return HttpProxyServerBootstrapModifier and TypeMethodDescriptionstatic HttpProxyServerBootstrapMicroProxy.bootstrap()Starts a proxy configuration with default settings.static HttpProxyServerBootstrapMicroProxy.bootstrapFromFile(Path path) A bootstrap configured from a properties file (see the configuration properties for keys).HttpProxyServer.clone()Returns a bootstrap preconfigured like this server, listening on the next port (or an ephemeral port if this one is ephemeral).default HttpProxyServerBootstrapHttpProxyServerBootstrap.onAllProtocols(Consumer<ProtocolPolicy.Builder> policy) Sets fields of theProtocolPolicyof every client protocol: below each protocol's own (onHttp1(java.util.function.Consumer<org.microproxy.Http1PolicyBuilder>),onHttp2(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>),onHttp3(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>)), above the protocols' defaults.default HttpProxyServerBootstrapHttpProxyServerBootstrap.onHttp1(Consumer<Http1PolicyBuilder> policy) Sets fields of theProtocolPolicyof HTTP/1.x clients, which win over those set for every protocol (onAllProtocols(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>)) and over HTTP/1's defaults.default HttpProxyServerBootstrapHttpProxyServerBootstrap.onHttp2(Consumer<ProtocolPolicy.Builder> policy) Sets fields of theProtocolPolicyof HTTP/2 clients (h2 and h2c), which win over those set for every protocol (onAllProtocols(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>)).default HttpProxyServerBootstrapHttpProxyServerBootstrap.onHttp3(Consumer<ProtocolPolicy.Builder> policy) Sets fields of theProtocolPolicyof HTTP/3 clients (the HTTP/3 listener, transparent QUIC, QUIC inside CONNECT-UDP flows), which win over those set for every protocol (onAllProtocols(java.util.function.Consumer<org.microproxy.ProtocolPolicy.Builder>)).HttpProxyServerBootstrap.plusActivityTracker(ActivityTracker activityTracker) Adds an observer alongside the configured activity trackers.HttpProxyServerBootstrap.plusFiltersSource(HttpFiltersSource filtersSource) Adds a filters source after those already configured; they run as aHttpFiltersChain.default HttpProxyServerBootstrapHttpProxyServerBootstrap.plusStrippedRequestHeaders(String... names) Adds to the headers removed from requests sent upstream (seewithStrippedRequestHeaders(java.lang.String...)).HttpProxyServerBootstrap.withAcceptProxyProtocol(boolean acceptProxyProtocol) Require a PROXY protocol (v1 or v2) header on every inbound connection: the same aswithAcceptProxyProtocol(ProxyProtocolMode)withProxyProtocolMode.REQUIRED, orProxyProtocolMode.OFFforfalse.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAcceptProxyProtocol(ProxyProtocolMode mode) Whether client connections start with a PROXY protocol header (v1 or v2), read before anything else on the connection (before TLS on a TLS listener, before SOCKS or HTTP/2 detection).HttpProxyServerBootstrap.withAddress(InetSocketAddress address) Sets the proxy listener address.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAdmin(InetSocketAddress address) Serves Envoy's admin API on its own HTTP listener ataddress, apart from the proxy's listeners:/stats,/stats/prometheus,/ready,/server_info,/listeners,/clusters,/config_dump,/logging, and, withPOST,/healthcheck/fail,/healthcheck/ok,/drain_listenersand/quitquitquit;/lists them.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAdminToken(String token) Requirestokenon every admin request but/ready: as a bearer token (Authorization: Bearer <token>), or as the password of basic authentication with any user name (or asuser:passworditself, when the token has a colon).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAllowChunkedLength(boolean allow) Accept HTTP/1.1 requests that carry bothTransfer-EncodingandContent-Length, as RFC 9112 section 6.1 allows a server to: theContent-Lengthis removed, the body is read by its chunked coding alone, and the client connection is closed after the response, so that whatever follows the body is never read as another request.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAllowHosts(String... patterns) Hosts whose TLS connections are intercepted; all others are tunnelled untouched (mitmproxy'sallow_hosts).HttpProxyServerBootstrap.withAllowLocalOnly(boolean allowLocalOnly) Listen on the loopback interface only.HttpProxyServerBootstrap.withAllowRequestToOriginServer(boolean allowRequestToOriginServer) Accept origin-form requests (GET /path) as if the proxy were the origin.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withAltSvcH3Stripping(boolean strip) Whether to remove HTTP/3 alternatives (h3,h3-29,h3-Q050, ..., and Google QUIC'squic) fromAlt-Svcresponse headers, keeping the other alternatives (such ash2=":443") and their parameters as they are.HttpProxyServerBootstrap.withAuthenticateSslClients(boolean authenticateSslClients) Require client certificates on the proxy's TLS listener.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withChainedProxyRetryBackoff(Duration initial, Duration max) Exponential backoff with full jitter between chained proxy attempts:withChainedProxyRetryBackoff(RetryBackoff.exponentialWithJitter(initial, max)).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withChainedProxyRetryBackoff(RetryBackoff backoff) Waits between attempts when a connection through one chained proxy (or the direct fallback) fails and the next candidate from theChainedProxyManageris tried, asbackoffsays:RetryBackoff.exponential(java.time.Duration, java.time.Duration)for exact doubling waits,RetryBackoff.exponentialWithJitter(java.time.Duration, java.time.Duration)for random ones ("full jitter"),RetryBackoff.fixed(java.time.Duration)for the same wait every time.HttpProxyServerBootstrap.withChainProxyManager(ChainedProxyManager chainProxyManager) Sets the manager selecting upstream proxies.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withCommandLineOptions(List<String> options) The command line the proxy was started with, which the admin's/server_infoshows (secret values redacted) as Envoy shows its own; the launcher passes its arguments.HttpProxyServerBootstrap.withConnectTimeout(int connectTimeoutMs) Connect timeout for outbound connections in milliseconds.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withConnectUdp(boolean enabled) Serves CONNECT-UDP (MASQUE, RFC 9298) on a forward proxy's TCP listener, with or without HTTP/3: an extendedCONNECTwith:protocol connect-udpon an HTTP/2 connection (h2 on the TLS listener withwithHttp2(boolean), orh2c), and the HTTP/1.1 form, aGETwithUpgrade: connect-udp.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withDrainStrategy(DrainStrategy strategy) How a draining proxy tells clients to go elsewhere (defaultDrainStrategy.GRADUAL, as Envoy's--drain-strategy); seeHttpProxyServer.drain(java.time.Duration).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withDrainTime(Duration drainTime) How long exchanges in progress may take to finish when the proxy stops, and how long a drain lasts when the admin's/drain_listeners?gracefulstarts one (default 10 seconds, Envoy's--drain-time-s).HttpProxyServerBootstrap.withFailureResponder(FailureResponder responder) Makes the proxy's own answers when requests fail (seeProxyFailure): unreachable or misbehaving servers, timeouts, an exhausted connection pool, refused requests.HttpProxyServerBootstrap.withFiltersSource(HttpFiltersSource filtersSource) Sets the source of per-request filters.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withFrameInterceptor(FrameInterceptor interceptor) Shows every HTTP/2 frame the proxy receives or sends, on the client side and on connections to servers, tointerceptor, which may edit, drop and add frames within the rulesFrameInterceptordescribes.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHealthCheckPath(String path, boolean passThrough) Answers health checks on the proxy's own listener, as Envoy's health check filter does: a request forpath(its path without the query, exactly) gets200 OKfrom the proxy, or503withx-envoy-immediate-health-check-fail: truewhile the health check fails or the proxy is draining.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp2(boolean enabled) Serves HTTP/2 to clients on intercepted TLS (withManInTheMiddle(org.microproxy.MitmManager)) and the proxy TLS listener (withSslContextSource(org.microproxy.SslContextSource)): the client handshake offersh2andhttp/1.1through ALPN, and a client that picksh2has each of its streams handled as an exchange of its own, concurrently, with the same filters, cache, authentication, failure answers and trackers as HTTP/1 requests.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp2Cleartext(boolean enabled) Serves HTTP/2 with prior knowledge (h2c, RFC 9113 section 3.3) on the plain listener: a connection that starts with the HTTP/2 connection preface is served as HTTP/2, its streams being proxy requests like HTTP/1 ones (:schemeand:authorityname the target).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp2CleartextOnly(boolean enabled) Serves only HTTP/2 with prior knowledge on the plain listener: aswithHttp2Cleartext(boolean)(which this implies), except that a connection that does not start with the HTTP/2 connection preface is not served as HTTP/1.x but treated as a connection error of typePROTOCOL_ERROR(RFC 9113 section 3.4): it is sentGOAWAYand closed.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp2Options(Http2Options options) Limits for HTTP/2 connections (seeHttp2Options); null restores the defaults.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp2Upstream(boolean enabled) Speaks HTTP/2 to origin servers that offer it: TLS connections to servers (intercepted HTTPS, and thehttps://requests ofwithTlsOrigination(boolean), secure WebSockets included) offerh2andhttp/1.1through ALPN, and a server that picksh2gets every exchange for it as a stream on one connection, shared by concurrent exchanges up to the server's stream limit; others keep HTTP/1.1.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp3(boolean enabled) Serves HTTP/3 (RFC 9114, over QUIC): a UDP listener on the TCP listener's port number takes QUIC connections with ALPNh3, and each request stream is an exchange of its own, concurrently, with the same filters, cache, authentication, failure answers, logging and trackers as HTTP/1 and HTTP/2 requests.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp3Options(Http3Options options) Limits and timers for HTTP/3 (seeHttp3Options); null restores the defaults.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp3Upstream(boolean enabled) Speaks HTTP/3 to origin servers known to support it, whatever the client spoke: one QUIC connection per server, shared by concurrent exchanges as streams.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withHttp3UpstreamHosts(String... patterns) Servers reached over HTTP/3 without waiting for anAlt-Svcadvertisement, on the port of theirhttpsURI: those whosehost:portone of these regular expressions is found in, case-insensitively, as forwithIgnoreHosts(java.lang.String...).HttpProxyServerBootstrap.withHttpCache(HttpCache cache) Caches responses (HttpCache).HttpProxyServerBootstrap.withIdleConnectionTimeout(int idleConnectionTimeoutInSeconds) Sets the maximum idle time for client and server connections.HttpProxyServerBootstrap.withIdleConnectionTimeout(Duration idleConnectionTimeout) Sets the maximum idle time for client and server connections.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withIgnoreHosts(String... patterns) Hosts whose TLS connections are never intercepted, but tunnelled untouched, so their clients see the real server's certificate (mitmproxy'signore_hosts).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withKeepHostHeader(boolean keep) In reverse proxy mode, keeps theHostfield the client sent instead of setting it to the upstream's (mitmproxy'skeep_host_header).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withLittleProxyCompatibility()Same aswithLittleProxyCompatibility(true).HttpProxyServerBootstrap.withLittleProxyCompatibility(boolean compatible) MakesProtocolPolicy.littleProxy()the defaults of HTTP/1.x clients' policy, so that the proxy behaves like LittleProxy where MicroProxy deliberately differs, for filters that depend on it.HttpProxyServerBootstrap.withManInTheMiddle(MitmManager mitmManager) Intercepts CONNECT tunnels withmitmManager.HttpProxyServerBootstrap.withMaxChunkSize(int maxChunkSize) Largest body piece handed to filters when streaming.HttpProxyServerBootstrap.withMaxConnections(int maxConnections) Pooled connections in total; default 200.HttpProxyServerBootstrap.withMaxConnectionsPerHost(int maxConnectionsPerHost) Pooled connections per target (host:port); default 10.HttpProxyServerBootstrap.withMaxHeaderSize(int maxHeaderSize) Sets the maximum HTTP header section size in bytes.HttpProxyServerBootstrap.withMaxInitialLineLength(int maxInitialLineLength) Sets the maximum HTTP request or status line length in bytes.HttpProxyServerBootstrap.withMaxWebSocketFrameBufferSize(int maxBytes) Largest WebSocket frame payload buffered forHttpFilters.webSocketFrameReceived(org.microproxy.http.WebSocketFrame, boolean); larger frames are streamed and reported as truncated.HttpProxyServerBootstrap.withMaxWebSocketMessageSize(int maxBytes) Largest WebSocket message, in bytes, that the proxy joins from its frames forHttpFilters.filterWebSocketMessage(org.microproxy.http.WebSocketMessage, boolean)or inflates (permessage-deflate) for the frame and message hooks.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withMetrics(boolean enabled) Turns metrics on with a registry of the default settings (or keeps the onewithStats(org.microproxy.stats.StatsRegistry)gave), or off.Name used for thread names and logging.HttpProxyServerBootstrap.withNetworkInterface(InetSocketAddress inetSocketAddress) Local address to bind for outbound connections.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withoutHttp3Advertisement()Same aswithAltSvcH3Stripping(true): clients are not told about HTTP/3 (see there).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withoutTracingHeadersUpstream()Removes distributed tracing headers (HttpHeaderNames.TRACING_HEADERS:traceparent,tracestate,baggage, the B3 headers,uber-trace-id,X-Amzn-Trace-Id,X-Cloud-Trace-Context,grpc-trace-bin,sentry-trace) from requests sent upstream, so clients' trace ids and baggage do not leak to servers.HttpProxyServerBootstrap.withPoolIdleTimeout(Duration idleTimeout) Closes pooled connections idle for longer than this;nullkeeps them.HttpProxyServerBootstrap.withPoolPerRequestInMitm(boolean poolPerRequestInMitm) WithwithPoolSharedMitmConnections(boolean), leases the server connection per intercepted request rather than per session.HttpProxyServerBootstrap.withPoolSharedMitmConnections(boolean poolSharedMitmConnections) Lets intercepted (MITM) sessions take their server connection from the pool and return it when the client disconnects, so other clients can reuse it.HttpProxyServerBootstrap.withPort(int port) Port to listen on; 0 picks an ephemeral port.HttpProxyServerBootstrap.withProxyAlias(String alias) Name used in theViaheader; defaults to the host name.HttpProxyServerBootstrap.withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator) Requires clients to authenticate: with Basic credentials by default, or with any scheme throughProxyAuthenticator.authenticate(org.microproxy.http.HttpRequest, FlowContext).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withProxyProtocolTrustedSources(String... sources) The peers whose PROXY protocol headers are honored, as IP addresses or CIDR ranges (10.0.0.0/8,192.0.2.10,fd00::/8): the load balancers in front of the proxy.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withQuicFraming(QuicFraming framing) Which intercepted QUIC connections' streams aQuicInterceptorthat overridesQuicInterceptor.streamMessage(org.microproxy.quic.QuicMessage, org.microproxy.quic.QuicStreamContext)sees as whole messages, cut by aMessageFramerchosen by ALPN or host; how large a message may be; and the error code a stream is reset with when one is too large.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withQuicHosts(String... patterns) Hosts whose intercepted QUIC is relayed stream by stream, as raw QUIC, whatever its ALPN: the QUIC counterpart ofwithTcpHosts(java.lang.String...).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withQuicInterceptor(QuicInterceptor interceptor) Shows the streams and datagrams of QUIC connections that the proxy intercepts without speaking their protocol tointerceptor, which may rewrite, drop and add their bytes; seeQuicInterceptor.HttpProxyServerBootstrap.withRequestHeadTimeout(Duration timeout) Sets the maximum time for an HTTP/1 request head to arrive, from its first byte through the terminating blank line.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withReverseProxy(String spec) Runs as a reverse proxy for the upstreamspec, such ashttps://example.com(seeReverseProxyMode.parse(java.lang.String)).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withReverseProxy(ReverseProxyMode mode) Runs as a reverse proxy for one upstream server (seeReverseProxyMode);null(the default) is a forward proxy.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withScriptCallObserver(ScriptCallObserver observer) Shows every call into a script's hooks toobserver(seeScriptCallObserver): the scripting module (--script) passes it on to the script it loads.HttpProxyServerBootstrap.withSendProxyProtocol(boolean sendProxyProtocol) Send a PROXY protocol v1 header to the final server: first on a direct connection, or through the tunnel once an HTTP chained proxy has accepted the CONNECT.HttpProxyServerBootstrap.withServerConnectionPoolType(ServerConnectionPoolType poolType) Selects the shared upstream connection pool implementation.HttpProxyServerBootstrap.withServerResolver(HostResolver serverResolver) Sets the resolver used for upstream host names.HttpProxyServerBootstrap.withSharedServerConnectionPool(boolean useSharedServerConnectionPool) Shares server connections between all clients instead of keeping them per client connection.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withSocksDetection(boolean detect) Serves SOCKS clients on the listener besides HTTP ones, told apart by their first byte: 5 for SOCKS5, 4 for SOCKS4 and 4a, which no HTTP request starts with.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withSocksServer(boolean socks) Makes the listener a SOCKS server (mitmproxy'ssocks5mode): SOCKS5 (RFC 1928), and SOCKS4 and 4a, with theCONNECTcommand only.HttpProxyServerBootstrap.withSslContextSource(SslContextSource sslContextSource) Serve the proxy itself over TLS (an "HTTPS proxy").default HttpProxyServerBootstrapHttpProxyServerBootstrap.withStats(StatsRegistry registry) Keeps the proxy's metrics inregistry: Envoy's stats (http.<name>.*,cluster.<name>.*,listener.<address>.*,server.*, ...; seeStatsRegistry), whichStatsFormatterrenders for Prometheus andStatsdSinkpushes to statsd.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withStrippedRequestHeaders(String... names) Removes these headers (case-insensitively) from every request right before it is written upstream: after all filters, so headers that filters added are removed too.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTcpHosts(String... patterns) Hosts whose connections are relayed as raw TCP even when they look like HTTP (mitmproxy'stcp_hosts): plain bytes after aCONNECTare not served as HTTP, and an intercepted TLS session is relayed decrypted rather than served as HTTP, its bytes going through theTCP hooks.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTcpInterceptor(TcpInterceptor interceptor) Shows the bytes of every raw TCP tunnel tointerceptor, which may rewrite, drop and add them (mitmproxy'stcp_messageand related hooks; seeTcpInterceptorfor which tunnels).HttpProxyServerBootstrap.withThrottling(long readThrottleBytesPerSecond, long writeThrottleBytesPerSecond) Global bandwidth limits for server traffic; 0 means unlimited.HttpProxyServerBootstrap.withTlsHandshakeTimeout(Duration timeout) The longest a TLS handshake may take, with clients and with servers (default 10 seconds; zero for no limit).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTlsOrigination(boolean enabled) Whether a forward proxy fetches anhttps://URI a client asks for directly, rather than throughCONNECT, by opening TLS to the server itself: an absolute-formGET https://example.com/sent in plain HTTP, an HTTP/2 stream with:scheme httpson anh2cconnection or the proxy's TLS listener, or a secure WebSocket (an absolutewss://URI, or extendedCONNECTwith:scheme https).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTlsProtocols(String... protocols) The TLS versions allowed on every TLS socket the proxy creates: its TLS listener (withSslContextSource(org.microproxy.SslContextSource)), both sides of an intercepted session, and connections to TLS chained proxies.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTlsRetryWithoutSni(boolean retry) Whether a TLS handshake with a server that ends with the server's fatalunrecognized_namealert (RFC 6066 section 3, RFC 8446 section 6.2), its answer to a server name (SNI) it does not recognize, is tried once more on a new connection, without SNI.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTracer(FlowTracer tracer) Traces the proxy's exchanges and flows withtracer(seeFlowTracer): themicroproxy-otelmodule's OpenTelemetry tracing and OTLP export, or another.HttpProxyServerBootstrap.withTransparent(boolean transparent) Transparent proxying: forward messages without addingViaor stripping hop-by-hop headers, and accept TLS connections that arrive without aCONNECT, such as ones a firewall redirects to the proxy.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTransparentQuicPort(int port) Opens a transparent QUIC listener on UDPport(0 for any): the UDP counterpart of transparent TLS, for QUIC (HTTP/3, UDP 443) that a firewall redirects to the proxy, such asiptables -t nat -A PREROUTING -p udp --dport 443 -j REDIRECT --to-ports <port>.default HttpProxyServerBootstrapHttpProxyServerBootstrap.withTransparentTlsPort(int port) The port that TLS connections arriving without aCONNECTin transparent mode are routed to, on the host their SNI names (default 443).default HttpProxyServerBootstrapHttpProxyServerBootstrap.withUdpInterceptor(UdpInterceptor interceptor) Shows the datagrams of every UDP flow the proxy relays (CONNECT-UDP, MASQUE, on a forward proxy's HTTP/3 listener) tointerceptor, which may rewrite, drop and add them; seeUdpInterceptor.HttpProxyServerBootstrap.withUseDnsSec(boolean useDnsSec) Resolves server names with the validating DNSSEC resolver (DnssecHostResolver) instead of the system resolver.Methods in org.microproxy with parameters of type HttpProxyServerBootstrapModifier and TypeMethodDescriptionvoidLauncherExtension.configure(HttpProxyServerBootstrap bootstrap, PrintStream console) Applies the parsed options, after the built-in ones;getChainProxyManager()shows any upstream configuration to wrap. -
Uses of HttpProxyServerBootstrap in org.microproxy.otel
Methods in org.microproxy.otel that return HttpProxyServerBootstrapModifier and TypeMethodDescriptionTelemetry.install(HttpProxyServerBootstrap bootstrap) Wires this telemetry intobootstrap: its tracer (withTracer(org.microproxy.FlowTracer)), metrics turned on when they are exported, and the access-log exporter as anActivityTrackerwhen logs are.Methods in org.microproxy.otel with parameters of type HttpProxyServerBootstrapModifier and TypeMethodDescriptionvoidOtelLauncherExtension.configure(HttpProxyServerBootstrap bootstrap, PrintStream console) Telemetry.install(HttpProxyServerBootstrap bootstrap) Wires this telemetry intobootstrap: its tracer (withTracer(org.microproxy.FlowTracer)), metrics turned on when they are exported, and the access-log exporter as anActivityTrackerwhen logs are. -
Uses of HttpProxyServerBootstrap in org.microproxy.starlark
Methods in org.microproxy.starlark with parameters of type HttpProxyServerBootstrapModifier and TypeMethodDescriptionvoidStarlarkLauncherExtension.configure(HttpProxyServerBootstrap bootstrap, PrintStream console)