class WilmaHttpRequestCloner {

    public WilmaHttpRequest cloneRequest(final WilmaHttpRequest request) {
        WilmaHttpRequest result = new WilmaHttpRequest();
        result.setRequestLine(request.getRequestLine());
        result.setUri(request.getUri());
        result.setBody(request.getBody());
        result.setWilmaMessageId(request.getWilmaMessageId());
        copyHeaders(request, result);
        return result;
    }

}