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

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

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