Package org.glassfish.web.deployment.descriptor

Examples of org.glassfish.web.deployment.descriptor.CookieConfigDescriptor


     * @return the descriptor instance to associate with this XMLNode
     */
    @Override
    public CookieConfigDescriptor getDescriptor() {
        if (descriptor == null) {
            descriptor = new CookieConfigDescriptor();
        }
        return descriptor;
    }
View Full Code Here


        Node myNode = appendChild(parent, nodeName);
        if (descriptor.getSessionTimeout() != descriptor.SESSION_TIMEOUT_DEFAULT) {
            appendTextChild(myNode, WebTagNames.SESSION_TIMEOUT,
                    String.valueOf(descriptor.getSessionTimeout()));
        }
        CookieConfigDescriptor cookieConfigDesc = (CookieConfigDescriptor)descriptor.getCookieConfig();
        if (cookieConfigDesc != null) {
            CookieConfigNode cookieConfigNode = new CookieConfigNode();
            cookieConfigNode.writeDescriptor(myNode, WebTagNames.COOKIE_CONFIG,
                cookieConfigDesc);
        }
View Full Code Here

TOP

Related Classes of org.glassfish.web.deployment.descriptor.CookieConfigDescriptor

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.