Uses of Interface
org.microproxy.extras.AccessLogFilter
Packages that use AccessLogFilter
-
Uses of AccessLogFilter in org.microproxy.extras
Fields in org.microproxy.extras declared as AccessLogFilterModifier and TypeFieldDescriptionstatic final AccessLogFilterAccessLogFilter.ALLLogs everything.Methods in org.microproxy.extras that return AccessLogFilterModifier and TypeMethodDescriptionstatic AccessLogFilterAccessLogFilter.allOf(AccessLogFilter... filters) Passes what all offilterspass.default AccessLogFilterAccessLogFilter.and(AccessLogFilter other) Both this filter andother.static AccessLogFilterAccessLogFilter.anyOf(AccessLogFilter... filters) Passes what any offilterspasses.static AccessLogFilterAccessLogFilter.duration(AccessLogFilter.Comparison comparison, long millis) Compares the duration of the exchange or flow, in milliseconds, withmillis.ActivityLogger.filter()Returns the filter that decides which records are written.static AccessLogFilterPasses requests that carry the fieldname(or the pseudo-header, such as:path).static AccessLogFilterPasses requests whose fieldnamematchesregexas a whole.static AccessLogFilterAccessLogFilter.headerEquals(String name, String value) Passes requests whose fieldnameis exactlyvalue.default AccessLogFilterAccessLogFilter.negate()Returns a filter that passes what this one does not.static AccessLogFilterAccessLogFilter.notHealthCheck()Leaves out health checks: requests forDEFAULT_HEALTH_CHECK_PATH, and requests from Envoy's health checker (User-Agent: Envoy/HC).static AccessLogFilterAccessLogFilter.notHealthCheckHeader(String header) Leaves out health checks: requests that carry the fieldheader.static AccessLogFilterAccessLogFilter.notHealthCheckPath(String path) Leaves out health checks: requests forpath(its query aside), and requests from Envoy's health checker (User-Agent: Envoy/HC).default AccessLogFilterAccessLogFilter.or(AccessLogFilter other) This filter orother.static AccessLogFilterParses the compact syntax:static AccessLogFilterAccessLogFilter.responseFlag(ResponseFlag... flags) Passes records with any offlags, or with any flag at all when none is given.static AccessLogFilterAccessLogFilter.runtime(double percent) Passespercentpercent of records, as Envoy's runtime filter does: chosen by the request'sX-Request-IDwhen it has one (so every log samples the same requests), else at random.static AccessLogFilterAccessLogFilter.statusCode(AccessLogFilter.Comparison comparison, int value) Compares the status of the response the client got (0 for none) withvalue.Methods in org.microproxy.extras with parameters of type AccessLogFilterModifier and TypeMethodDescriptionstatic AccessLogFilterAccessLogFilter.allOf(AccessLogFilter... filters) Passes what all offilterspass.default AccessLogFilterAccessLogFilter.and(AccessLogFilter other) Both this filter andother.static AccessLogFilterAccessLogFilter.anyOf(AccessLogFilter... filters) Passes what any offilterspasses.ActivityLogger.Builder.filter(AccessLogFilter filter) Writes only the recordsfilterpasses (default: all).default AccessLogFilterAccessLogFilter.or(AccessLogFilter other) This filter orother.