code: protected void onPreDispatch(Request request, Response response) {
          application.getRoutePreDispatchListeners().onPreDispatch(request, response);
      }
docs: Executes onPreDispatch of registered route pre-dispatch listeners.
  
  @param request
  @param response