Package org.itsnat.impl.core.servlet

Examples of org.itsnat.impl.core.servlet.ItsNatServletImpl


        }
    }

    protected void processDocumentTemplateSpecified()
    {
        ItsNatServletImpl itsNatServlet = itsNatRequest.getItsNatServletImpl();           
        ItsNatServletResponseImpl itsNatResponse = itsNatRequest.getItsNatServletResponseImpl();              
        ServletRequest request = itsNatRequest.getServletRequest();
        ServletResponse response = itsNatResponse.getServletResponse();            

        request.setAttribute("itsnat_action",ITSNAT_ACTION_EVENT_STATELESS_PHASE_LOAD_DOC);           
        ItsNatServletRequestImpl itsNatRequestLoadPhase = itsNatServlet.processRequestInternal(request,response,null);
        ClientDocumentImpl clientDoc = itsNatRequestLoadPhase.getClientDocumentImpl();       
        if (clientDoc instanceof ClientDocumentStfulImpl)
        {
            // No necesitamos un ResponseEventStatelessImpl

            request.setAttribute("itsnat_action",ITSNAT_ACTION_EVENT);
            request.setAttribute("itsnat_eventType","stateless");          

            ItsNatServletRequestImpl itsNatRequestEventPhase = itsNatServlet.processRequestInternal(request,response,(ClientDocumentStfulImpl)clientDoc);
        }
        else
        {
            // Puede ser el caso de ClientDocumentWithoutDocumentDefaultImpl
            processDocumentTemplateNotFound(clientDoc);
View Full Code Here

TOP

Related Classes of org.itsnat.impl.core.servlet.ItsNatServletImpl

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.