Uses of Enum Class
org.microproxy.ResponseFlag
Packages that use ResponseFlag
-
Uses of ResponseFlag in org.microproxy
Methods in org.microproxy that return ResponseFlagModifier and TypeMethodDescriptionstatic ResponseFlagThe flag with the short code or long namename, ignoring case, or with this enum's constant name (UPSTREAM_CONNECTION_FAILURE).static ResponseFlagReturns the enum constant of this class with the specified name.static ResponseFlag[]ResponseFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.microproxy that return types with arguments of type ResponseFlagModifier and TypeMethodDescriptionFlowContext.responseFlags()Envoy-style flags saying why the exchange in progress on this connection (or the last one), or the tunnel or flow it opened, ended as it did (UFfor a refused connection,DCfor a client that left, ...).FlowRecord.responseFlags()Returns the response flags (seeFlowContext.responseFlags()), unmodifiable.Methods in org.microproxy with parameters of type ResponseFlagModifier and TypeMethodDescriptionvoidFlowContext.addResponseFlag(ResponseFlag flag) Addsflagto the response flags of the exchange in progress: for a filter that answers or refuses a request for a reason the access log should show (a rate limiter'sRATE_LIMITED, say).Method parameters in org.microproxy with type arguments of type ResponseFlagModifier and TypeMethodDescriptionFlowRecord.Builder.outcome(Set<ResponseFlag> flags, ProxyFailure failure, String details) Sets the outcome: flags, failure and details.static StringResponseFlag.render(Set<ResponseFlag> flags, boolean longNames) Rendersflagsas Envoy does: the short (or long) names in this enum's order, separated by commas, or-when there are none. -
Uses of ResponseFlag in org.microproxy.extras
Methods in org.microproxy.extras with parameters of type ResponseFlagModifier and TypeMethodDescriptionstatic AccessLogFilterAccessLogFilter.responseFlag(ResponseFlag... flags) Passes records with any offlags, or with any flag at all when none is given.