code: public void flush() throws IOException
      {
          super.flush();
          if (_complete&&!_completed)
          {
              _completed=true;
  
              _packet.resetData();
              _packet.addByte(AJP13ResponsePacket.__END_RESPONSE);
              _packet.addBoolean(_persistent);
              _packet.setDataSize();
              write(_packet);
              _packet.resetData();
          }
      }
docs: /* ------------------------------------------------------------