private String readRequest(HttpServletRequest request) { try { StringBuffer sb = new StringBuffer(); if (request.getInputStream() != null) { request.getInputStream().reset(); InputStreamReader isr = new UTF8InputStreamReaderWrapper(request.getInputStream()); BufferedReader br = new BufferedReader(isr); String thisLine; while ((thisLine = br.readLine()) != null) { sb.append(thisLine); } br.close(); } return sb.toString(); } catch (Throwable ex) { return null; } }
private String readRequest(HttpServletRequest request) { try { StringBuffer sb = new StringBuffer(); if (request.getInputStream() != null) { request.getInputStream().reset(); InputStreamReader isr = new UTF8InputStreamReaderWrapper(request.getInputStream()); BufferedReader br = new BufferedReader(isr); String thisLine; while ((thisLine = br.readLine()) != null) { sb.append(thisLine); } br.close(); } return sb.toString(); } catch (Throwable ex) { return null; } }
public void reset() throws IOException { delegate.reset(); }
@Override public void reset() throws IOException { synchronized(lock) { in.reset(); } }
@Override public void reset() throws IOException { originalRequest.reset(); }
@Override public synchronized void reset() throws IOException { in.reset(); }
public void reset() throws IOException { wrappedStream.reset(); }
public void reset() throws IOException { wrappedStream.reset(); }
public void reset() throws IOException { getStream().reset(); } public long skip(long n) throws IOException {