public ServletInputStreamRepeater(ExternalContext.Request request) throws IOException { this.contentType = request.getContentType(); this.contentLength = request.getContentLength(); this.characterEncoding = request.getCharacterEncoding(); this.inputStream = request.getInputStream(); }