public FullHttp1Response(FullHttpResponse delegate, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http1Headers(delegate.headers()); this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedRequestData(Request request, SegmentedData data, TraceInfo traceInfo) { this.request = request; this.data = data; this.traceInfo = traceInfo == null ? new TraceInfo(request.headers()) : traceInfo; }
public FullHttp2Response(Http2Headers delegate, int streamId, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http2HeadersWrapper(delegate); this.streamId = streamId; this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public FullHttp2Request(Http2Headers delegate, int streamId, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http2HeadersWrapper(delegate); this.streamId = streamId; this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedHttp1Request(HttpRequest delegate, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http1Headers(delegate.headers()); this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedHttp2Request(Http2Headers delegate, int streamId, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http2HeadersWrapper(delegate); this.streamId = streamId; this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedHttp2Response(Http2Headers delegate, int streamId, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http2HeadersWrapper(delegate); this.streamId = streamId; this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedResponseData(Response response, SegmentedData data, TraceInfo traceInfo) { this.response = response; this.data = data; this.traceInfo = traceInfo == null ? new TraceInfo(response.headers()) : traceInfo; }
public FullHttp1Request(FullHttpRequest delegate, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http1Headers(delegate.headers()); this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public SegmentedHttp1Response(HttpResponse delegate, TraceInfo traceInfo) { this.delegate = delegate; this.headers = new Http1Headers(delegate.headers()); this.traceInfo = traceInfo == null ? new TraceInfo(headers) : traceInfo; }
public DefaultSegmentedRequest build() { if (!httpTraceInfo().isPresent() && headers().isPresent()) { httpTraceInfo(new TraceInfo(headers().get())); } return autoBuild(); } }
public DefaultFullRequest build() { if (!httpTraceInfo().isPresent() && headers().isPresent()) { httpTraceInfo(new TraceInfo(headers().get())); } return autoBuild(); } }
public DefaultSegmentedResponse build() { if (!httpTraceInfo().isPresent()) { httpTraceInfo(new TraceInfo(headers())); } return autoBuild(); }
public DefaultFullResponse build() { if (!httpTraceInfo().isPresent()) { httpTraceInfo(new TraceInfo(headers())); } return autoBuild(); }