refactor HttpApiServlet dispatcher(s) retrieval