@Override
	public ServletInputStream getInputStream() throws IOException {
		final ServletInputStream requestInputStream = super.getInputStream();
		if (bufferedInputStream == null) {
			return requestInputStream;
		}
		if (inputStream == null) {
			final BufferedInputStream myBufferedInputStream = bufferedInputStream;
			//CHECKSTYLE:OFF
			inputStream = new ServletInputStream() {
				//CHECKSTYLE:ON
				@Override
				public int read() throws IOException {
					return myBufferedInputStream.read();
				}

				@Override
				public boolean isFinished() {
					return requestInputStream.isFinished();
				}

				@Override
				public boolean isReady() {
					return requestInputStream.isReady();
				}

				@Override
				public void setReadListener(ReadListener readListener) {
					requestInputStream.setReadListener(readListener);
				}
			};
		}
		return inputStream;
	}
@ Override public ServletInputStream getInputStream ( ) throws IOException { final ServletInputStream requestInputStream = super . getInputStream ( ) ; if ( bufferedInputStream == null ) { return requestInputStream ; } if ( inputStream == null ) { final BufferedInputStream myBufferedInputStream = bufferedInputStream ; inputStream = new ServletInputStream ( ) { @ Override public int read ( ) throws IOException { return myBufferedInputStream . read ( ) ; } @ Override public boolean isFinished ( ) { return requestInputStream . isFinished ( ) ; } @ Override public boolean isReady ( ) { return requestInputStream . isReady ( ) ; } @ Override public void setReadListener ( ReadListener readListener ) { requestInputStream . setReadListener ( readListener ) ; } } ; } return inputStream ; }
{@inheritDoc}