Package org.projectodd.polyglot.web.servlet

Examples of org.projectodd.polyglot.web.servlet.HttpServletResponseCapture


        if (RackWebApplicationInstaller.FIVE_HUNDRED_SERVLET_NAME.equals(servletName) ||
                RackWebApplicationInstaller.STATIC_RESROUCE_SERVLET_NAME.equals(servletName)) {
            // Only hand off requests to Rack if they're handled by one of the
            // TorqueBox servlets
            HttpServletResponseCapture responseCapture = new HttpServletResponseCapture( response );
            try {
                chain.doFilter( request, responseCapture );
                if (responseCapture.isError()) {
                    response.reset();
                } else if (!request.getMethod().equals( "OPTIONS" )) {
                    // Pass HTTP OPTIONS requests through to the Rack application
                    return;
                }
View Full Code Here

TOP

Related Classes of org.projectodd.polyglot.web.servlet.HttpServletResponseCapture

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.