def rewindable(request)
            input = request.getInputStream

            @options[:rewindable] ?
                Rack::RewindableInput.new(input.to_io.binmode) :
                RewindableInputStream.new(input).to_io.binmode
        end
def rewindable(request)
            input = request.getInputStream

            @options[:rewindable] ?
                Rack::RewindableInput.new(input.to_io.binmode) :
                RewindableInputStream.new(input).to_io.binmode
        end
Wraps the Java InputStream for the level of Rack compliance
 desired.