handlebars-springmvc/src/main/java/com/github/jknack/handlebars/springmvc/HandlebarsView.java
@Override
  protected void renderMergedTemplateModel(final Map<String, Object> model,
      final HttpServletRequest request, final HttpServletResponse response)
      throws IOException {
    Context context = Context.newBuilder(model)
        .resolver(valueResolvers)
        .build();
    try {
      template.apply(context, response.getWriter());
    } finally {
      context.destroy();
    }
  }
/**
   * Merge model into the view. {@inheritDoc}
   */
Merge model into the view.
Merge model into the view .
@Override
  protected void renderMergedTemplateModel(final Map<String, Object> model,
      final HttpServletRequest request, final HttpServletResponse response)
      throws IOException {
    Context context = Context.newBuilder(model)
        .resolver(valueResolvers)
        .build();
    try {
      template.apply(context, response.getWriter());
    } finally {
      context.destroy();
    }
  }
@ Override protected void renderMergedTemplateModel ( final Map < String , Object > model , final HttpServletRequest request , final HttpServletResponse response ) throws IOException { Context context = Context . newBuilder ( model ) . resolver ( valueResolvers ) . build ( ) ; try { template . apply ( context , response . getWriter ( ) ) ; } finally { context . destroy ( ) ; } }
Merge model into the view.
Merge model into the view .