public class ServletPublishContext extends java.lang.Object implements PublisherContext
ServletContext
Constructor and Description |
---|
ServletPublishContext(javax.servlet.ServletContext ctx) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns an object value for the given key, or null if there is no value
for the given key.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets the given context Object value for the given key.
|
public ServletPublishContext(javax.servlet.ServletContext ctx)
public java.lang.Object getAttribute(java.lang.String name)
PublisherContext
getAttribute
in interface PublisherContext
PublisherContext.getAttribute(String)
public void setAttribute(java.lang.String name, java.lang.Object value)
PublisherContext
setAttribute
in interface PublisherContext
PublisherContext.setAttribute(String, Object)