Package com.pugh.sockso.web.action

Examples of com.pugh.sockso.web.action.WebAction


            req = new HttpRequest( sv );
            req.process( new BufferedInputStream(client.getInputStream()) );

            Locale locale = localeFactory.getLocale( req.getPreferredLangCode() );

            final WebAction action = dispatcher.getAction( req );
            action.setRequest( req );
            action.setLocale( locale );

            if ( action.requiresSession() ) {
                final Session session = new Session( db, req, null );
                user = session.getCurrentUser();
            }

            action.setUser( user );

            res = new HttpResponse(
                new BufferedOutputStream(client.getOutputStream()),
                db, p, locale, user,
                req.getHeader("Accept-Encoding").contains("gzip")
                    // @TODO fix safari gzip bug
                    && !req.getHeader("User-Agent").contains("Safari")
            );

            action.setResponse( res );

            process( action, user, req, locale, res );

        }
       
View Full Code Here

TOP

Related Classes of com.pugh.sockso.web.action.WebAction

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.