Uses of Class
org.microproxy.FlowRecord.Builder
Packages that use FlowRecord.Builder
-
Uses of FlowRecord.Builder in org.microproxy
Methods in org.microproxy that return FlowRecord.BuilderModifier and TypeMethodDescriptionstatic FlowRecord.BuilderFlowRecord.builder(FlowContext context, FlowRecord.Kind kind) Starts a record of an exchange or flow oncontext.FlowRecord.Builder.bytes(long received, long sent) Sets the bytes exchanged with the client.FlowRecord.Builder.downstreamLocalAddress(InetSocketAddress address) Sets the proxy's local address on the client connection.FlowRecord.Builder.outcome(Set<ResponseFlag> flags, ProxyFailure failure, String details) Sets the outcome: flags, failure and details.FlowRecord.Builder.request(HttpRequest request) Sets the client's request.FlowRecord.Builder.response(HttpResponse response, ResponseSource source) Sets the response the client got, and where it came from.FlowRecord.Builder.time(long startEpochMillis, long durationNanos) Sets when the exchange started and how long it lasted.FlowRecord.Builder.timings(FlowTimings timings) Sets the phase timings.Sets the exchange's distributed trace.FlowRecord.Builder.trailers(HttpHeaders trailers) Sets the response's trailers.Fixes the unique id instead of making a random one when asked.FlowRecord.Builder.upstream(InetSocketAddress address, InetSocketAddress localAddress, String cluster, SSLSession session) Sets what the exchange was connected to.FlowRecord.Builder.upstreamBytes(long sent, long received) Sets the bytes exchanged with the server, on the wire.FlowRecord.Builder.upstreamProtocol(String protocol) Sets the protocol spoken to the upstream (FlowRecord.upstreamProtocol()).FlowRecord.Builder.upstreamTransportFailureReason(String reason) Sets why the TLS handshake with the server failed.