private String[] getMapperUrlSectionsCached(String mapperUrl) {
    String[] sections = mapperUrlSectionsCache.get(mapperUrl);
    if (sections == null) {
      sections = mapperUrl.split("/");
      for (int i = 0; i < sections.length; i++) {
        String section = sections[i];
        // To work around a but in Selenium Grid 2.31.0.
        int qPos = section.indexOf('?');
        if (qPos != -1) {
          sections[i] = section.substring(0, qPos);
        }
      }
      mapperUrlSectionsCache.put(mapperUrl, sections);
    }
    return sections;
  }
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