本文整理了Java中org.apache.catalina.connector.Request.doGetSession
方法的一些代码示例,展示了Request.doGetSession
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.doGetSession
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:doGetSession
暂无
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* @return the session associated with this Request, creating one
* if necessary and requested.
*
* @param create Create a new session if one does not exist
*/
public Session getSessionInternal(boolean create) {
return doGetSession(create);
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary and requested.
*
* @param create Create a new session if one does not exist
*/
public Session getSessionInternal(boolean create) {
return doGetSession(create);
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Return the session associated with this Request, creating one
* if necessary and requested.
*
* @param create Create a new session if one does not exist
*/
public Session getSessionInternal(boolean create) {
return doGetSession(create);
}
代码示例来源:origin: tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary and requested.
*
* @param create Create a new session if one does not exist
*/
public Session getSessionInternal(boolean create) {
return doGetSession(create);
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* @return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Return the session associated with this Request, creating one
* if necessary and requested.
*
* @param create Create a new session if one does not exist
*/
public Session getSessionInternal(boolean create) {
return doGetSession(create);
}
代码示例来源:origin: tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* @return the session associated with this Request, creating one
* if necessary.
*/
public Session getSessionInternal() {
return doGetSession(true);
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public HttpSession getSession() {
Session session = doGetSession(true);
if (session != null) {
return session.getSession();
} else {
return null;
}
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* @return the session associated with this Request, creating one
* if necessary.
*/
@Override
public HttpSession getSession() {
Session session = doGetSession(true);
if (session == null) {
return null;
}
return session.getSession();
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public HttpSession getSession() {
Session session = doGetSession(true);
if (session != null) {
return session.getSession();
} else {
return null;
}
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Return the principal that has been authenticated for this Request.
*/
protected Principal doGetUserPrincipal() {
if (USE_PRINCIPAL_FROM_SESSION && userPrincipal == null) {
Session session = doGetSession(false);
Principal principal = session.getPrincipal();
if (principal != null)
return principal;
}
return userPrincipal;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
@Override
public HttpSession getSession() {
Session session = doGetSession(true);
if (session == null) {
return null;
}
return session.getSession();
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Return the principal that has been authenticated for this Request.
*/
protected Principal doGetUserPrincipal() {
if (USE_PRINCIPAL_FROM_SESSION && userPrincipal == null) {
Session session = doGetSession(false);
Principal principal = session.getPrincipal();
if (principal != null) {
return principal;
}
}
return userPrincipal;
}
代码示例来源:origin: tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
public HttpSession getSession() {
Session session = doGetSession(true);
if (session != null) {
return session.getSession();
} else {
return null;
}
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Return the session associated with this Request, creating one
* if necessary.
*/
@Override
public HttpSession getSession() {
Session session = doGetSession(true);
if (session == null) {
return null;
}
return session.getSession();
}
内容来源于网络,如有侵权,请联系作者删除!