/** * If not already created, a new <code>cookie-config</code> element with the given value will be created. * Otherwise, the existing <code>cookie-config</code> element will be returned. * @return a new or existing instance of <code>CookieConfigType<SessionConfigType<T>></code> */ public CookieConfigType<SessionConfigType<T>> getOrCreateCookieConfig() { Node node = childNode.getOrCreate("cookie-config"); CookieConfigType<SessionConfigType<T>> cookieConfig = new CookieConfigTypeImpl<SessionConfigType<T>>(this, "cookie-config", childNode, node); return cookieConfig; }
/** * If not already created, a new <code>cookie-config</code> element with the given value will be created. * Otherwise, the existing <code>cookie-config</code> element will be returned. * @return a new or existing instance of <code>CookieConfigType<SessionConfigType<T>></code> */ public CookieConfigType<SessionConfigType<T>> getOrCreateCookieConfig() { Node node = childNode.getOrCreate("cookie-config"); CookieConfigType<SessionConfigType<T>> cookieConfig = new CookieConfigTypeImpl<SessionConfigType<T>>(this, "cookie-config", childNode, node); return cookieConfig; }