Package org.jboss.seam.servlet.event.ImplicitServletObjectsHolder

Examples of org.jboss.seam.servlet.event.ImplicitServletObjectsHolder.InternalServletRequestEvent


    public void contextDestroyed(final ServletContextEvent e) {
        fireEvent(new InternalServletContextEvent(e.getServletContext()), DestroyedLiteral.INSTANCE);
    }

    public void requestInitialized(final ServletRequestEvent e) {
        fireEvent(new InternalServletRequestEvent(e.getServletRequest()), InitializedLiteral.INSTANCE);
        if (e.getServletRequest() instanceof HttpServletRequest) {
            HttpServletRequest httpRequest = HttpServletRequest.class.cast(e.getServletRequest());
            fireEvent(e.getServletRequest(), InitializedLiteral.INSTANCE, new PathLiteral(httpRequest.getServletPath()),
                    new HttpMethodLiteral(httpRequest.getMethod()));
        } else {
View Full Code Here


            fireEvent(e.getServletRequest(), DestroyedLiteral.INSTANCE, new PathLiteral(httpRequest.getServletPath()),
                    new HttpMethodLiteral(httpRequest.getMethod()));
        } else {
            fireEvent(e.getServletRequest(), DestroyedLiteral.INSTANCE);
        }
        fireEvent(new InternalServletRequestEvent(e.getServletRequest()), DestroyedLiteral.INSTANCE);
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.servlet.event.ImplicitServletObjectsHolder.InternalServletRequestEvent

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.