ServletInputStream in =  request.getInputStream();
  byte[] buf = new byte[8 * 1024];
  int result = 0;
  do {
            result = in.readLine(buf, 0, buf.length);  // this.readLine() does +=
            if (result != -1) {
             logger.debug("1:"+new String(buf, 0, result, "utf-8"));
            }
        } while (result == buf.length);  // loop only if the buffer was filled

 

대략 이런식..

Posted by 삽지리
,