本文整理了Java中org.apache.catalina.Manager.createSession()
方法的一些代码示例,展示了Manager.createSession()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Manager.createSession()
方法的具体详情如下:
包路径:org.apache.catalina.Manager
类名称:Manager
方法名:createSession
[英]Construct and return a new session object, based on the default settings specified by this Manager's properties. The session id will be assigned by this method, and available via the getId() method of the returned session. If a new session cannot be created for any reason, return null
.
[中]根据此管理器的属性指定的默认设置,构造并返回新的会话对象。会话id将由该方法分配,并可通过返回会话的getId()方法获得。如果由于任何原因无法创建新会话,请返回[$0$]。
代码示例来源:origin: pivotalsoftware/session-managers
private Session logAndCreateEmptySession(String id, Exception e) {
RedisStore.this.logger.error("Unable to load session {}. Empty session created.", id, e);
return RedisStore.this.manager.createSession(id);
}
代码示例来源:origin: tomcat/catalina
context.getManager().createSession(other.getId());
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
context.getManager().createSession(other.getId());
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: codefollower/Tomcat-Research
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
context.getManager().createSession(other.getId());
代码示例来源:origin: jboss.web/jbossweb
if (localSession == null && create) {
localSession =
context.getManager().createSession(other.getId());
代码示例来源:origin: org.jboss.web/jbossweb
if (localSession == null && create) {
localSession =
context.getManager().createSession(other.getId(), null);
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
context.getManager().createSession(other.getId());
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
context.getManager().createSession(other.getId());
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
context.getManager().createSession(other.getId());
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: tomcat/catalina
session = manager.createSession(getRequestedSessionId());
} else {
session = manager.createSession(null);
代码示例来源:origin: codefollower/Tomcat-Research
context.getManager().createSession(other.getId());
代码示例来源:origin: org.osivia.portal.core/osivia-portal-jbossas-jbossweb-lib
/* 2310 */ this.session = manager.createSession(getRequestedSessionId());
/* 2312 */ else this.session = manager.createSession(null);
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
context.getManager().createSession(other.getId());
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
context.getManager().createSession(other.getId());
代码示例来源:origin: org.jboss.web/jbossweb
session = manager.createSession(sessionId, random);
内容来源于网络,如有侵权,请联系作者删除!