code: def dispatch_request(self, view, view_args):
          
          # Call the :meth:`before_request` method
          resp = self.before_request()
          if resp:
              return self.after_request(make_response(resp))
          # Load the database model
          self.obj = self.loader(**view_args)
          # Trigger pre-view processing of the loaded object
          resp = self.after_loader()
          if resp:
              return self.after_request(make_response(resp))
          # Call the view handler method, then pass the response to :meth:`after_response`
          return self.after_request(make_response(view(self)))
docs: View dispatcher that calls :meth:`before_request`, :meth:`loader`,
          :meth:`after_loader`, the view, and then :meth:`after_request`.
  
          :param view: View method wrapped in specified decorators.
          :param dict view_args: View arguments, to be passed on to the view method