|
Weaver 3.1.0a1-D1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WeaverServletContext interface manages a servlet.
Method Summary | |
String |
getApplicationDate()
Gets the application date as set in the WAD file. |
String |
getApplicationName()
Gets the application name as set in the WAD file. |
String |
getApplicationVersion()
Gets the application version as set in the WAD file. |
Object |
getAttribute(String name)
Gets the value of a named servlet scoped attribute. |
String |
getAuthorEmail()
Gets the author email address as set in the WAD file. |
String |
getAuthorName()
Gets the author name as set in the WAD file. |
String |
getConfigValue(String name)
Gets configuration value loaded from the per-servlet configuration file. |
Set |
getConfigValueNames()
Gets all configuration value names. |
long |
getCreationTime()
Gets the time that the application was created. |
String |
getInitParameter(String name)
Gets a servlet init parameter. |
String |
getServletName()
Gets the name of the servlet running this application. |
String |
getVendorName()
Gets the vendor name as set in the WAD file. |
void |
removeAttribute(String name)
Removes a session scoped attribute. |
void |
setAttribute(String name,
Object value)
Sets a servlet scoped attribute. |
Method Detail |
public long getCreationTime()
public String getServletName()
public String getApplicationName()
public String getApplicationVersion()
public String getApplicationDate()
public String getAuthorEmail()
public String getAuthorName()
public String getVendorName()
public String getInitParameter(String name)
name
- Name of the parameter
public String getConfigValue(String name)
name
- Name of config value to retrieve
public Set getConfigValueNames()
public void setAttribute(String name, Object value)
name
- The name of the attribute to set.value
- The value to set the attribute to.public Object getAttribute(String name)
name
- The name of the attribute to retrieve.
public void removeAttribute(String name)
name
- The name of the attribute to remove.
|
Copyright ©Paul Harvey | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |