An interesting case (it works by passing the inputStream down the dozer mapping chain from InputStream to byte[]). This is in order not to consume the memory.