Uses of Class
org.microproxy.http.HttpHeaders
Packages that use HttpHeaders
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 HttpHeaders in org.microproxy
Methods in org.microproxy that return HttpHeadersModifier and TypeMethodDescriptionFlowRecord.trailers()Returns the response's trailers, ornullwhen it had none.Methods in org.microproxy with parameters of type HttpHeadersModifier and TypeMethodDescriptiondefault voidFlowTrace.injectUpstream(HttpHeaders headers, boolean tracingHeadersStripped) A request head is about to be written upstream for the current attempt, after the proxy removed the headers it strips (HttpProxyServerBootstrap.withStrippedRequestHeaders(java.lang.String...)): the trace may put its propagation headers on it.FlowRecord.Builder.trailers(HttpHeaders trailers) Sets the response's trailers. -
Uses of HttpHeaders in org.microproxy.cache
Methods in org.microproxy.cache that return HttpHeadersModifier and TypeMethodDescriptionCachedResponse.headers()Returns a copy of the stored header fields.Constructors in org.microproxy.cache with parameters of type HttpHeadersModifierConstructorDescriptionCachedResponse(String key, Map<String, String> vary, int status, String reason, HttpHeaders headers, byte[] body, long requestTime, long responseTime) Creates a stored response and its freshness metadata. -
Uses of HttpHeaders in org.microproxy.contentviews
Methods in org.microproxy.contentviews that return HttpHeadersModifier and TypeMethodDescriptionContentView.Metadata.headers()Returns the value of theheadersrecord component.ContentView.Metadata.trailers()Returns the value of thetrailersrecord component.Methods in org.microproxy.contentviews with parameters of type HttpHeadersModifier and TypeMethodDescriptionContentView.Metadata.withTrailers(HttpHeaders trailers) This metadata with trailer fields.Constructors in org.microproxy.contentviews with parameters of type HttpHeadersModifierConstructorDescriptionMetadata(String contentType, HttpHeaders headers, HttpHeaders trailers, String path, boolean request) Fills in empty header fields fornull, and reduces an absolute URI to its path. -
Uses of HttpHeaders in org.microproxy.http
Methods in org.microproxy.http that return HttpHeadersModifier and TypeMethodDescriptionAppends one field for each supplied value.Appends a field after validating its name and value.HttpHeaders.add(HttpHeaders other) Appends every field ofother.HttpHeaders.clear()Removes all fields.HttpHeaders.copy()Returns a deep copy of these headers.DefaultHttpRequest.headers()DefaultHttpResponse.headers()HttpMessage.headers()Returns the mutable header fields of this message.Replaces all fields namednamewith one field per element ofvalues.Replaces all fields namednamewith a single field, keeping the first position.HttpHeaders.set(HttpHeaders other) Replaces the contents of these headers withother.DefaultFullHttpRequest.trailingHeaders()DefaultFullHttpResponse.trailingHeaders()DefaultLastHttpContent.trailingHeaders()LastHttpContent.trailingHeaders()Returns the mutable trailer fields following the body.Methods in org.microproxy.http with parameters of type HttpHeadersModifier and TypeMethodDescriptionHttpHeaders.add(HttpHeaders other) Appends every field ofother.HttpHeaders.set(HttpHeaders other) Replaces the contents of these headers withother.Constructors in org.microproxy.http with parameters of type HttpHeadersModifierConstructorDescriptionDefaultFullHttpRequest(HttpVersion version, HttpMethod method, String uri, HttpHeaders headers, byte[] content) Creates a complete request using the supplied headers and body.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers, byte[] content) Creates a complete response using the supplied headers and body.DefaultHttpRequest(HttpVersion version, HttpMethod method, String uri, HttpHeaders headers) Creates a request head using the supplied headers.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers) Creates a response head using the supplied headers.DefaultLastHttpContent(byte[] content, HttpHeaders trailingHeaders) Creates a final body piece with the supplied trailers. -
Uses of HttpHeaders in org.microproxy.otel
Methods in org.microproxy.otel with parameters of type HttpHeadersModifier and TypeMethodDescriptionPropagator.extract(HttpHeaders headers) Reads the trace context inheaders.voidPropagator.inject(SpanContext context, HttpHeaders headers)