Package org.jrest4guice.rest.writer.renderer

Examples of org.jrest4guice.rest.writer.renderer.ViewRender.render()


        ViewRender viewRender = ViewRenderRegister.getInstance()
            .getViewRender(pageInfo);

        // 如果模板文件存在,则调用相应的渲染器进行结果的渲染
        if (viewRender != null) {
          viewRender.render(out, annotation, httpResult,charset);
        } else {
          writeTextPlain(out, httpResult);
        }
      }
    } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.