public class ServletContextSupport extends Object
ServletContext
.Constructor and Description |
---|
ServletContextSupport() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getContextAttribute(String key) |
protected String |
getContextInitParam(String paramName) |
javax.servlet.ServletContext |
getServletContext() |
protected void |
removeContextAttribute(String key) |
protected void |
setContextAttribute(String key,
Object value) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
String |
toString()
It is highly recommended not to override this method directly, and instead override the
toStringBuilder() method, a better-performing alternative. |
protected StringBuilder |
toStringBuilder()
Same concept as
toString() , but returns a StringBuilder instance instead. |
public ServletContextSupport()
public javax.servlet.ServletContext getServletContext()
public void setServletContext(javax.servlet.ServletContext servletContext)
protected String getContextInitParam(String paramName)
protected void setContextAttribute(String key, Object value)
protected Object getContextAttribute(String key)
protected void removeContextAttribute(String key)
public String toString()
toStringBuilder()
method, a better-performing alternative.protected StringBuilder toStringBuilder()
toString()
, but returns a StringBuilder
instance instead.toString()
invocation.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.