Package net.paoding.rose.web.portal

Examples of net.paoding.rose.web.portal.WindowRender


        return innerRender;
    }

    @Override
    public void render(Writer out, Window w) throws IOException {
        WindowRender render = this.innerRender;
        if (render == null) {
            render = simpleRender;
        }
        if (w instanceof WindowForView) {
            w = ((WindowForView) w).getInner();
        }
        WindowImpl window = (WindowImpl) w;
        if (window.getContentLength() >= 0) {
            if (logger.isDebugEnabled()) {
                logger.debug("rendering window: " + window.getPath() + "; contentLength="
                        + window.getContentLength());
            }
            render.render(out, window);
            return;
        }
        if (logger.isInfoEnabled()) {
            logger.info("rendering a unsuccess window: " + window.getPath() + "; contentLength="
                    + window.getContentLength() + "; sc=" + window.getStatusCode());
View Full Code Here

TOP

Related Classes of net.paoding.rose.web.portal.WindowRender

Copyright © 2018 www.massapicom. 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.