code: public void writeHeader(HttpMessage httpMessage)
          throws IOException
      {
          httpMessage.writeHeader(_httpMessageWriter);
          if (_httpMessageWriter.size()>capacity())
              throw new IllegalStateException("Header too large");
      }
docs: /* ------------------------------------------------------------