HttpClients.httpClient(execController, UnpooledByteBufAllocator.DEFAULT, Integer.MAX_VALUE).request(uri, action)
.then(response -> {
TypedData responseBody = response.getBody();
ByteBuf responseBodyBuffer = responseBody.getBuffer();
responseBodyBuffer = Unpooled.unreleasableBuffer(responseBodyBuffer.retain());
ReceivedResponse copiedResponse = new DefaultReceivedResponse(
response.getStatus(),
response.getHeaders(),
new ByteBufBackedTypedData(responseBodyBuffer, responseBody.getContentType())
);
setResult(Result.success(copiedResponse));