class HttpServletRequestTransformer {

    public WilmaHttpRequest transformToWilmaHttpRequest(final String wilmaLoggerId, final HttpServletRequest request, final ResponseDescriptorDTO responseDescriptorDTO) {
        WilmaHttpRequest wilmaRequest = new WilmaHttpRequest();
        copyServletHeadersIntoWilmaRequest(request, wilmaRequest);
        copyUnCompressedBodyIntoWilmaRequest(responseDescriptorDTO, wilmaRequest);
        wilmaRequest.setWilmaMessageId(wilmaLoggerId);
        return requestCloner.cloneRequest(wilmaRequest);
    }

}