code: public void resolve(@Nullable View view, @NonNull HttpRequest request, @NonNull HttpResponse response) {
          if (view == null) return;
  
          Object output = view.output();
          if (output == null) return;
  
          if (view.rest()) {
              resolveRest(output, request, response);
          } else {
              resolvePath(output, request, response);
          }
      }
docs: Solve the view and convert the view to http package content.
  
  @param view current view.
  @param request current request.
  @param response current response.