All Packages Class Hierarchy This Package Previous Next Index
Class org.apache.tomcat.core.ServletWrapper
java.lang.Object
|
+----org.apache.tomcat.core.ServletWrapper
- public class ServletWrapper
- extends Object
Class used to represent a servlet inside a Context.
- Author:
- James Duncan Davidson [duncan@eng.sun.com], Jason Hunter [jch@eng.sun.com], James Todd [gonzo@eng.sun.com], Harish Prabandham, costin@dnt.ro
-
config
-
-
context
-
-
contextM
-
-
description
-
-
isReloadable
-
-
lastAccessed
-
-
serviceCount
-
-
servlet
-
-
servletClass
-
-
servletClassName
-
-
sm
-
-
ServletWrapper()
-
-
addInitParam(String, String)
-
-
addSecurityMapping(String, String, String)
- Security Role Ref represent a mapping between servlet role names and
server roles
-
getContext()
-
-
getLoadOnStartUp()
-
-
getPath()
-
-
getSecurityRole(String)
-
-
getServlet()
-
-
getServletClass()
-
-
getServletDescription()
-
-
getServletName()
-
-
handleRequest(HttpServletRequestFacade, HttpServletResponseFacade)
-
Deprecated.
-
handleRequest(Request, Response)
-
-
loadServlet()
- Load and init a the servlet pointed by this wrapper
Deprecated.
-
setContext(Context)
-
-
setLoadOnStartUp(int)
-
-
setLoadOnStartUp(String)
-
-
setPath(String)
-
-
setServletClass(String)
-
-
setServletDescription(String)
-
-
setServletName(String)
-
-
toString()
-
sm
protected StringManager sm
context
protected Context context
contextM
protected ContextManager contextM
servletClassName
protected String servletClassName
config
protected ServletConfigImpl config
servlet
protected Servlet servlet
servletClass
protected Class servletClass
description
protected String description
isReloadable
protected boolean isReloadable
lastAccessed
protected long lastAccessed
serviceCount
protected int serviceCount
ServletWrapper
public ServletWrapper()
setContext
public void setContext(Context context)
getContext
protected Context getContext()
setLoadOnStartUp
public void setLoadOnStartUp(int level)
setLoadOnStartUp
public void setLoadOnStartUp(String level)
getLoadOnStartUp
public int getLoadOnStartUp()
getServletName
public String getServletName()
setServletName
public void setServletName(String servletName)
getPath
public String getPath()
setPath
public void setPath(String path)
getServletDescription
public String getServletDescription()
setServletDescription
public void setServletDescription(String description)
getServletClass
public String getServletClass()
setServletClass
public void setServletClass(String servletClassName)
addSecurityMapping
public void addSecurityMapping(String name,
String role,
String description)
- Security Role Ref represent a mapping between servlet role names and
server roles
getSecurityRole
public String getSecurityRole(String name)
getServlet
public Servlet getServlet()
addInitParam
public void addInitParam(String name,
String value)
loadServlet
public void loadServlet() throws ClassNotFoundException, InstantiationException, IllegalAccessException, ServletException
- Note: loadServlet() is deprecated.
loadServlet is used with the meaning of initServlet.
Use the real thing.
- Load and init a the servlet pointed by this wrapper
handleRequest
public void handleRequest(Request req,
Response res)
handleRequest
public void handleRequest(HttpServletRequestFacade request,
HttpServletResponseFacade response)
- Note: handleRequest() is deprecated.
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index