private String[] getRequestUrlSections(String urlToMatch) {
    if (urlToMatch == null) {
      return null;
    }
    int qPos = urlToMatch.indexOf('?');
    if (qPos != -1) {
      urlToMatch = urlToMatch.substring(0, urlToMatch.indexOf("?"));
    }
    return urlToMatch.split("/");
  }
adds all the handlers to this registry: {@link #getHandler}, {@link #postHandler},
{@link #deleteHandler}
selendroid-server-common/src/main/java/io/selendroid/server/common/BaseServlet.java