code: public void parseRequestTarget(String method, String uri) {
          clear();
          _uri = uri;
  
          if (HttpMethod.CONNECT.is(method))
              _path = uri;
          else
              parse(uri.startsWith("/") ? State.PATH : State.START, uri, 0, uri.length());
      }
docs: Parse according to https://tools.ietf.org/html/rfc7230#section-5.3
  
  @param method the request method
  @param uri    the request uri