本文整理了Java中javax.servlet.http.HttpSession.getValueNames()
方法的一些代码示例,展示了HttpSession.getValueNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpSession.getValueNames()
方法的具体详情如下:
包路径:javax.servlet.http.HttpSession
类名称:HttpSession
方法名:getValueNames
暂无
代码示例来源:origin: Red5/red5-server
/** {@inheritDoc} */
@SuppressWarnings("deprecation")
public int size() {
return session != null ? session.getValueNames().length : 0;
}
代码示例来源:origin: jfinal/jfinal
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: jfinal/jfinal
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: spring-projects/spring-session
@Override
public void doFilter(HttpServletRequest wrappedRequest) {
HttpSession session = wrappedRequest.getSession();
session.invalidate();
try {
session.getValueNames();
fail("Expected Exception");
}
catch (IllegalStateException ignored) {
}
}
});
代码示例来源:origin: spring-projects/spring-session
@Override
public void doFilter(HttpServletRequest wrappedRequest) {
assertThat(wrappedRequest.getSession().getValue(ATTR)).isEqualTo(VALUE);
assertThat(Arrays.asList(wrappedRequest.getSession().getValueNames()))
.containsOnly(ATTR);
}
});
代码示例来源:origin: spring-projects/spring-session
@Override
public void doFilter(HttpServletRequest wrappedRequest) {
wrappedRequest.getSession().putValue(ATTR, VALUE);
assertThat(wrappedRequest.getSession().getValue(ATTR)).isEqualTo(VALUE);
assertThat(Arrays.asList(wrappedRequest.getSession().getValueNames()))
.containsOnly(ATTR);
}
});
代码示例来源:origin: com.liferay.portal/com.liferay.portal.kernel
/**
* @deprecated As of Bunyan (6.0.x)
*/
@Deprecated
@Override
public String[] getValueNames() {
return _session.getValueNames();
}
代码示例来源:origin: com.liferay.portal/portal-kernel
/**
* @deprecated
*/
public String[] getValueNames() {
return _session.getValueNames();
}
代码示例来源:origin: edu.internet2.middleware.grouper/grouper-ui
/**
* @return value names
* @see javax.servlet.http.HttpSession
*/
@SuppressWarnings("deprecation")
public String[] getValueNames() {
return this.httpSession.getValueNames();
}
代码示例来源:origin: org.apache.openejb/openejb-http
@Override
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* @deprecated As of Version 2.2, this method is replaced by
* {@link #getAttributeNames}
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* @deprecated As of Version 2.2, this method is replaced by
* {@link #getAttributeNames}
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* @deprecated As of Version 2.2, this method is replaced by
* {@link #getAttributeNames}
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* @deprecated As of Version 2.2, this method is replaced by
* {@link #getAttributeNames}
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* @deprecated
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: org.jboss.jsfunit/jboss-jsfunit-core
@Deprecated
@Override
public String[] getValueNames()
{
return wrapped.getValueNames();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* @deprecated
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* @deprecated As of Version 2.2, this method is replaced by
* {@link #getAttributeNames}
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: com.qwazr/qwazr-webapps
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* @deprecated
*/
@Override
@Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
内容来源于网络,如有侵权,请联系作者删除!