public class ServletContextSupport extends Object
ServletContext.
| Constructor and Description |
|---|
ServletContextSupport()
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getContextAttribute(String
|
protected String |
getContextInitParam(String
|
ServletContext |
getServletContext()
|
protected void |
removeContextAttribute(String
|
protected void |
setContextAttribute(String
|
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 ServletContext getServletContext()
public void setServletContext(ServletContext servletContext)
protected void removeContextAttribute(Stringkey)
public StringtoString()
toStringBuilder() method, a better-performing alternative.
protected StringBuildertoStringBuilder()
toString(), but returns a
StringBuilder instance instead.
toString() invocation.