本文整理了Java中javax.servlet.http.HttpServletRequestWrapper.removeAttribute()
方法的一些代码示例,展示了HttpServletRequestWrapper.removeAttribute()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpServletRequestWrapper.removeAttribute()
方法的具体详情如下:
包路径:javax.servlet.http.HttpServletRequestWrapper
类名称:HttpServletRequestWrapper
方法名:removeAttribute
暂无
代码示例来源:origin: cloudfoundry/uaa
@Override
public void removeAttribute(String name) {
super.removeAttribute(name);
}
代码示例来源:origin: com.liferay.portal/com.liferay.portal.kernel
@Override
public void removeAttribute(String name) {
_attributes.remove(name);
super.removeAttribute(name);
}
代码示例来源:origin: com.atlassian.jira/jira-core
@Override
public void removeAttribute(final String name)
{
super.removeAttribute(name);
}
代码示例来源:origin: com.github.wuic/wuic-servlet
/**
* {@inheritDoc}
*/
@Override
public void removeAttribute(final String name) {
// Synchronized access
synchronized (mutex) {
super.removeAttribute(name);
}
}
代码示例来源:origin: org.jasig.portal/uportal3-impl
/**
* @see javax.servlet.ServletRequest#removeAttribute(java.lang.String)
*/
public void removeAttribute(String name) {
if (name == null)
throw new IllegalArgumentException("Attribute name cannot be null");
//TODO is this the desired behavior?
this.attributeValueMap.remove(name);
super.removeAttribute(name);
}
代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl
public void removeAttribute(String name)
{
if (m_attributes.containsKey(name))
{
m_attributes.remove(name);
}
else
{
super.removeAttribute(name);
}
// if this is a special attribute, set it back through all wrapped requests of this class
if (Tool.NATIVE_URL.equals(name))
{
m_wrappedReq.removeAttribute(name);
}
}
代码示例来源:origin: Jasig/uPortal
@Override
public void removeAttribute(String name) {
this.checkState();
super.removeAttribute(name);
}
代码示例来源:origin: org.apache.wink/wink-server
@Override
public void removeAttribute(String name) {
getCorrectRequest().removeAttribute(name);
}
代码示例来源:origin: org.jasig.portal/uPortal-rendering
@Override
public void removeAttribute(String name) {
this.checkState();
super.removeAttribute(name);
}
代码示例来源:origin: hdiv/hdiv
@Override
@SuppressWarnings("deprecation")
public void removeAttribute(final String name) {
if (Constants.HDIV_REQUEST_CONTEXT.equals(name)) {
if (super.getAttribute(Constants.HDIV_REQUEST_CONTEXT) != null) {
log.warn("The application is trying to remove an Hdiv internal attribute. The change will be avoided.");
return;
}
}
super.removeAttribute(name);
}
代码示例来源:origin: org.onehippo.ecm.hst.components/hst-core
@Override
public void removeAttribute(String name) {
if (name == null) {
throw new IllegalArgumentException("attribute name cannot be null.");
}
if (isContainerAttributeName(name)) {
super.removeAttribute(name);
} else {
Object value = getAttributeMap().remove(name);
String prefix = getFullNamespacePrefix(this.componentWindow.getReferenceNamespace(), false);
super.removeAttribute(prefix + name);
}
}
代码示例来源:origin: org.onehippo.cms7.hst.components/hst-core
@Override
public void removeAttribute(String name) {
if (name == null) {
throw new IllegalArgumentException("attribute name cannot be null.");
}
if (isContainerAttributeName(name)) {
super.removeAttribute(name);
} else {
getAttributeMap().remove(name);
String prefix = getFullNamespacePrefix(this.componentWindow.getReferenceNamespace(), false);
super.removeAttribute(prefix + name);
}
}
代码示例来源:origin: OpenNMS/opennms
@Override
public void removeAttribute(String name)
{
Object oldValue = this.getAttribute(name);
super.removeAttribute(name);
if (oldValue != null)
{
requestAttributeListener.attributeRemoved(new ServletRequestAttributeEvent(servletContext, this, name,
oldValue));
}
}
}
代码示例来源:origin: org.opennms.container/org.opennms.container.bridge
@Override
public void removeAttribute(String name) {
Object oldValue = this.getAttribute(name);
super.removeAttribute(name);
if (oldValue != null) {
requestAttributeListener.attributeRemoved(new ServletRequestAttributeEvent(servletContext, this, name, oldValue));
}
}
}
代码示例来源:origin: org.seleniumhq.selenium/jetty-rc-repacked
public void removeAttribute(String name)
{
Object old=getAttribute(name);
super.removeAttribute(name);
for (int i=LazyList.size(contextFilters);i-->0;)
((JSR154Filter)LazyList.get(contextFilters, i)).attributeNotify(this,name,old,null);
}
代码示例来源:origin: OpenNMS/opennms
@Override
public void removeAttribute(String name) {
Object oldValue = this.getAttribute(name);
super.removeAttribute(name);
if (oldValue != null) {
requestAttributeListener.attributeRemoved(new ServletRequestAttributeEvent(servletContext, this, name, oldValue));
}
}
}
代码示例来源:origin: org.seleniumhq.selenium.server/selenium-server-coreless
public void removeAttribute(String name)
{
Object old=getAttribute(name);
super.removeAttribute(name);
for (int i=LazyList.size(contextFilters);i-->0;)
((JSR154Filter)LazyList.get(contextFilters, i)).attributeNotify(this,name,old,null);
}
代码示例来源:origin: org.opennms.container/org.opennms.container.bridge
@Override
public void removeAttribute(String name)
{
Object oldValue = this.getAttribute(name);
super.removeAttribute(name);
if (oldValue != null)
{
requestAttributeListener.attributeRemoved(new ServletRequestAttributeEvent(servletContext, this, name,
oldValue));
}
}
}
代码示例来源:origin: apache/felix
@Override
public void removeAttribute(final String name) {
final Object oldValue = this.getAttribute(name);
if ( oldValue != null )
{
super.removeAttribute(name);
if ( this.servletContext.getServletRequestAttributeListener() != null )
{
this.servletContext.getServletRequestAttributeListener().attributeRemoved(new ServletRequestAttributeEvent(this.servletContext, this, name, oldValue));
}
}
}
代码示例来源:origin: org.apache.felix/org.apache.felix.http.base
@Override
public void removeAttribute(final String name) {
final Object oldValue = this.getAttribute(name);
if ( oldValue != null )
{
super.removeAttribute(name);
if ( this.servletContext.getServletRequestAttributeListener() != null )
{
this.servletContext.getServletRequestAttributeListener().attributeRemoved(new ServletRequestAttributeEvent(this.servletContext, this, name, oldValue));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!