code: @Override
    public String method()
    {
      if (_methodString == null) {
        CharSegment cb = getMethodBuffer();
        if (cb.length() == 0) {
          _methodString = "GET";
          return _methodString;
        }
  
        switch (cb.charAt(0)) {
        case 'G':
          _methodString = cb.equals(_getCb) ? "GET" : cb.toString();
          break;
  
        case 'H':
          _methodString = cb.equals(_headCb) ? "HEAD" : cb.toString();
          break;
  
        case 'P':
          _methodString = cb.equals(_postCb) ? "POST" : cb.toString();
          break;
  
        default:
          _methodString = cb.toString();
        }
      }
  
      return _methodString;
    }
docs: Returns the HTTP method (GET, POST, HEAD, etc.)