Package org.impalaframework.web.servlet.wrapper

Examples of org.impalaframework.web.servlet.wrapper.ValueHolder


    public void testGetAttributeNoWrapping() {
        //test the case where the classloader is compatible
       
        session = createMock(HttpSession.class);
        ValueHolder valueHolder = new ValueHolder();
        expect(session.getAttribute("myAttribute")).andReturn(valueHolder);
       
        replay(session);

        StateProtectingHttpSession wrappedSession = new StateProtectingHttpSession(session, webAttributeQualifier, applicationId, moduleName, ClassUtils.getDefaultClassLoader());
View Full Code Here


        //test the case where the classloader is compatible
       
        webAttributeQualifier = new DefaultWebAttributeQualifier();
       
        session = createMock(HttpSession.class);
        ValueHolder valueHolder = new ValueHolder();
        expect(session.getAttribute("application_myapp_module_mymodule:myAttribute")).andReturn(valueHolder);
       
        replay(session);

        StateProtectingHttpSession wrappedSession = new StateProtectingHttpSession(session, webAttributeQualifier, applicationId, moduleName, ClassUtils.getDefaultClassLoader());
View Full Code Here

TOP

Related Classes of org.impalaframework.web.servlet.wrapper.ValueHolder

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.