nonContextServlets If false, the invoker can only load servlets from the contexts classloader. This is false by default and setting this to true may have security implications. verbose If true, log dynamic loads * All other parameters are copied to the each dynamic servlet as init parameters
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private ContextHandler | |
| private ServletHandler. | |
| private boolean | |
| private Map | |
| private ServletHandler | |
| private boolean | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ServletHolder | |
| public void | init()
Overrides jakarta. super.init(config).
|
| protected void | service(HttpServletRequest
the request, HttpServletResponse HttpServletRequest object that contains the request the client made of the servletthe response)HttpServletResponse object that contains the response the servlet returns to the clientOverrides jakarta. service method and dispatches them to the
doXXX methods defined in this class.
|
| _contextHandler | back to summary |
|---|---|
| private ContextHandler _contextHandler | |
| _invokerEntry | back to summary |
|---|---|
| private ServletHandler. | |
| _nonContextServlets | back to summary |
|---|---|
| private boolean _nonContextServlets | |
| _parameters | back to summary |
|---|---|
| private Map<String, String> _parameters | |
| _servletHandler | back to summary |
|---|---|
| private ServletHandler _servletHandler | |
| _verbose | back to summary |
|---|---|
| private boolean _verbose | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| Invoker | back to summary |
|---|---|
| public Invoker() | |
| getHolder | back to summary |
|---|---|
| private ServletHolder getHolder(ServletHolder[] holders, String servlet) | |
| init | back to summary |
|---|---|
| public void init() Overrides jakarta. Doc from jakarta. A convenience method which can be overridden so that there's no need to call
Instead of overriding
| |
| service | back to summary |
|---|---|
| protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException Overrides jakarta. Doc from jakarta. Receives standard HTTP requests from the public
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv | InvokedRequest(HttpServletRequest request, boolean included, String name, String servletPath, String pathInfo)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | getAttribute(String
a name)String specifying the name of the attributeOverrides jakarta. Implements jakarta. Object, or null if no attribute of the given
name exists.
|
| public String | getPathInfo()
Overrides jakarta. Implements jakarta. |
| public String | getServletPath()
Overrides jakarta. Implements jakarta. |
| _included | back to summary |
|---|---|
| pack-priv boolean _included | |
| _pathInfo | back to summary |
|---|---|
| pack-priv String _pathInfo | |
| _servletPath | back to summary |
|---|---|
| pack-priv String _servletPath | |
| InvokedRequest | back to summary |
|---|---|
| pack-priv InvokedRequest(HttpServletRequest request, boolean included, String name, String servletPath, String pathInfo) | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Overrides jakarta. Implements jakarta. Doc from jakarta. Returns the value of the named attribute as an
Attributes can be set two ways. The servlet container may set attributes to make available custom information about a
request. For example, for requests made using HTTPS, the attribute
Attribute names should follow the same conventions as package names. This specification reserves names matching
| |
| getPathInfo | back to summary |
|---|---|
| public String getPathInfo() Overrides jakarta. Implements jakarta. Doc from jakarta. The default behavior of this method is to return getPathInfo() on the wrapped request object.
| |
| getServletPath | back to summary |
|---|---|
| public String getServletPath() Overrides jakarta. Implements jakarta. Doc from jakarta. The default behavior of this method is to return getServletPath() on the wrapped request object.
| |