private MockHttpResponseBuilderImpl(MockHttpRequestBuilderImpl request) {
this.request = request;
MockStreamBufferPool bufferPool = new MockStreamBufferPool();
HttpServerLocation serverLocation = new MockHttpServer();
ProcessAwareServerHttpConnectionManagedObject<ByteBuffer> serverHttpConnection = new ProcessAwareServerHttpConnectionManagedObject<>(
serverLocation, false, () -> HttpMethod.GET, () -> "/", HttpVersion.HTTP_1_1, null, null, null,
null, true, new MockHttpResponseWriter(this.request, this, null), bufferPool);
this.delegate = new ProcessAwareHttpResponse<>(serverHttpConnection, HttpVersion.HTTP_1_1,
new MockProcessAwareContext());
}