예제 #1
0
  @Override
  public void resetBuffer() {
    if (isCommitted()) throw new IllegalStateException("Committed");

    switch (_outputType) {
      case STREAM:
      case WRITER:
        _out.reset();
    }

    _out.resetBuffer();
  }
예제 #2
0
 public void recycle() {
   resetBuffer();
   _interceptor = _channel;
 }