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) |
ServletContext |
getServletContext() |
protected void |
removeContextAttribute(String key) |
protected void |
setContextAttribute(String key,
Object value) |
void |
setServletContext(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 ServletContext getServletContext()
public void setServletContext(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-2013 The Apache Software Foundation. All Rights Reserved.