Uses of Enum Class
org.microproxy.ResponseSource
Packages that use ResponseSource
-
Uses of ResponseSource in org.microproxy
Methods in org.microproxy that return ResponseSourceModifier and TypeMethodDescriptionFlowRecord.source()Returns where the response came from, ornullwhen there was none.static ResponseSourceReturns the enum constant of this class with the specified name.static ResponseSource[]ResponseSource.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 ResponseSourceModifier and TypeMethodDescriptionFlowContext.responseSource()Where the response of the exchange in progress on this connection came from: insideHttpFilters.serverToProxyResponse(org.microproxy.http.HttpObject)andHttpFilters.proxyToClientResponse(org.microproxy.http.HttpObject), the source of the response the hook is handed (SERVERfor the server's,PROXYfor the proxy's own answers, such as its error responses and aCONNECT's200,FILTERfor a short-circuit response or aHttpFilters.proxyToServerFailure(org.microproxy.ProxyFailure)answer,CACHEandREPLAY); once the response is sent, where the response the client got came from, asHttpFilters.proxyToClientResponseSent(org.microproxy.http.HttpResponse, org.microproxy.ResponseSource)and trackers are told.Methods in org.microproxy with parameters of type ResponseSourceModifier and TypeMethodDescriptiondefault voidHttpFilters.proxyToClientResponseSent(HttpResponse response, ResponseSource source) Called once the whole response has been written to the client, whoever made it: the server, the proxy, a filter or the cache.voidHttpFiltersBuilder.Built.proxyToClientResponseSent(HttpResponse response, ResponseSource source) voidHttpFiltersChain.Chained.proxyToClientResponseSent(HttpResponse response, ResponseSource source) FlowRecord.Builder.response(HttpResponse response, ResponseSource source) Sets the response the client got, and where it came from.default voidActivityTracker.responseSentToClient(FlowContext flowContext, HttpResponse httpResponse, ResponseSource source) Called when a response head has been sent to the client, with where the response came from.