public boolean isComplete() {
   return _connection.getGenerator().isComplete();
 }
 public boolean keepAlive() {
   return _connection.getGenerator().isPersistent();
 }