Package com.alibaba.citrus.service.requestcontext.session.store.cookie.impl

Examples of com.alibaba.citrus.service.requestcontext.session.store.cookie.impl.SingleValuedCookieStoreImpl


        service = (RequestContextChainingServiceImpl) factory.getBean("rc2");
        SessionRequestContextFactoryImpl f = getFactory(service, SessionRequestContextFactoryImpl.class);
        SessionConfig config = f.getConfig();

        StoresConfig stores = config.getStores();
        SingleValuedCookieStoreImpl cookieStore = (SingleValuedCookieStoreImpl) stores.getStore("s2");

        assertEquals("/", getFieldValue(cookieStore, "path", null));
        assertEquals(0, getFieldValue(cookieStore, "maxAge", null));
        assertEquals(true, getFieldValue(cookieStore, "httpOnly", null));
        assertEquals(false, getFieldValue(cookieStore, "secure", null));
View Full Code Here


        service = (RequestContextChainingServiceImpl) factory.getBean("rc2");
        SessionRequestContextFactoryImpl f = getFactory(service, SessionRequestContextFactoryImpl.class);
        SessionConfig config = f.getConfig();

        StoresConfig stores = config.getStores();
        SingleValuedCookieStoreImpl cookieStore = (SingleValuedCookieStoreImpl) stores.getStore("s2");

        assertEquals("/", getFieldValue(cookieStore, "path", null));
        assertEquals(0, getFieldValue(cookieStore, "maxAge", null));
        assertEquals(true, getFieldValue(cookieStore, "httpOnly", null));
        assertEquals(false, getFieldValue(cookieStore, "secure", null));
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.requestcontext.session.store.cookie.impl.SingleValuedCookieStoreImpl

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.