Class MultiPartParser

    • Field Detail

      • LOG

        public static final Logger LOG
    • Constructor Detail

    • Method Detail

      • reset

        public void reset()
      • parse

        public boolean parse​(java.nio.ByteBuffer buffer,
                             boolean last)
        Parse until next Event.
        Parameters:
        buffer - the buffer to parse
        last - whether this buffer contains last bit of content
        Returns:
        True if an HttpParser.RequestHandler method was called and it returned true;
      • parseMimePartHeaders

        protected boolean parseMimePartHeaders​(java.nio.ByteBuffer buffer)
      • parseOctetContent

        protected boolean parseOctetContent​(java.nio.ByteBuffer buffer)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object