try {
HttpRequestBindingData httpRequest = new HttpRequestBindingData();
byte[] responseBody = null;
try {
String contentTypeStr = exchange.getRequestHeaders().getFirst(CONTENT_TYPE);
ContentType contentType = new ContentType(contentTypeStr);
httpRequest.setContentType(contentType);
httpRequest.setBodyFromStream(exchange.getRequestBody());
httpRequest.setHeaders(exchange.getRequestHeaders());
httpRequest.setRequestInfo(getRequestInfo(exchange, contentType));
} catch (IOException e) {