code: private void parseDelimiter(ByteBuffer buffer) {
          while (__delimiterStates.contains(_state) && hasNextByte(buffer)) {
              HttpTokens.Token t = next(buffer);
              if (t == null)
                  return;
  
              if (t.getType() == HttpTokens.Type.LF) {
                  setState(State.BODY_PART);
  
                  if (LOG.isDebugEnabled())
                      LOG.debug("startPart {}", this);
  
                  _handler.startPart();
                  return;
              }
  
              switch (_state) {
                  case DELIMITER:
                      if (t.getChar() == '-')
                          setState(State.DELIMITER_CLOSE);
                      else
                          setState(State.DELIMITER_PADDING);
                      continue;
  
                  case DELIMITER_CLOSE:
                      if (t.getChar() == '-') {
                          setState(State.EPILOGUE);
                          return;
                      }
                      setState(State.DELIMITER_PADDING);
                      continue;
  
                  case DELIMITER_PADDING:
                  default:
              }
          }
      }
docs: /* -------------------------------------------------------------------------------