use of com.netflix.zuul.message.http.HttpRequestInfo in project zuul by Netflix.
the class ProxyEndpoint method responseFromOrigin.
public void responseFromOrigin(final HttpResponse originResponse) {
try (TaskCloseable ignore = PerfMark.traceTask("ProxyEndpoint.responseFromOrigin")) {
PerfMark.attachTag("uuid", zuulRequest, r -> r.getContext().getUUID());
PerfMark.attachTag("path", zuulRequest, HttpRequestInfo::getPath);
methodBinding.bind(() -> processResponseFromOrigin(originResponse));
} catch (Exception ex) {
unlinkFromOrigin();
LOG.error("Error in responseFromOrigin", ex);
channelCtx.fireExceptionCaught(ex);
}
}
Aggregations