public class ServletConfiguration extends Object implements ServletConfig, Comparable
| Modifier | Constructor and Description |
|---|---|
protected |
ServletConfiguration(WebAppConfiguration webAppConfig) |
|
ServletConfiguration(WebAppConfiguration webAppConfig,
Node elm) |
|
ServletConfiguration(WebAppConfiguration webAppConfig,
String servletName,
String className,
Map initParams,
int loadOnStartup) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object objTwo)
This was included so that the servlet instances could be sorted on their
loadOnStartup values.
|
void |
destroy()
Called when it's time for the container to shut this servlet down.
|
void |
ensureInitialization() |
void |
execute(ServletRequest request,
ServletResponse response,
String requestURI) |
String |
getInitParameter(String name) |
Enumeration |
getInitParameterNames() |
int |
getLoadOnStartup() |
Map |
getSecurityRoleRefs() |
ServletContext |
getServletContext() |
String |
getServletName() |
protected void |
setUnavailable(Servlet unavailableServlet) |
protected ServletConfiguration(WebAppConfiguration webAppConfig)
public ServletConfiguration(WebAppConfiguration webAppConfig, String servletName, String className, Map initParams, int loadOnStartup)
public ServletConfiguration(WebAppConfiguration webAppConfig, Node elm)
public void ensureInitialization()
public void execute(ServletRequest request, ServletResponse response, String requestURI) throws ServletException, IOException
ServletExceptionIOExceptionpublic int getLoadOnStartup()
public String getInitParameter(String name)
getInitParameter in interface ServletConfigpublic Enumeration getInitParameterNames()
getInitParameterNames in interface ServletConfigpublic ServletContext getServletContext()
getServletContext in interface ServletConfigpublic String getServletName()
getServletName in interface ServletConfigpublic Map getSecurityRoleRefs()
public int compareTo(Object objTwo)
compareTo in interface Comparablepublic void destroy()
protected void setUnavailable(Servlet unavailableServlet)
Copyright © 2014. All rights reserved.