docs: public void write(int c) throws IOException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
          { // 306998.15
              Tr.debug(tc, "write --> " + c);
          }
  
          if (!_hasWritten && obs != null)
          {
              _hasWritten = true;
              obs.alertFirstWrite();
          }
  
          if (limit > -1)
          {
              if (total >= limit)
              {
                  throw new WriteBeyondContentLengthException();
              }
          }
          if (count == buf.length)
          {
              response.setFlushMode(false);
              flushChars();
              response.setFlushMode(true);
          }
          buf[count++] = (char) c;
          total++;
      }