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 Map. | |
| private boolean | |
| private Map | |
| private ServletHandler | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ServletHolder | |
| public void | init()
Overrides javax. 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 javax. 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 Map. | |
| _nonContextServlets | back to summary |
|---|---|
| private boolean _nonContextServlets | |
| _parameters | back to summary |
|---|---|
| private Map<K, V> _parameters | |
| _servletHandler | back to summary |
|---|---|
| private ServletHandler _servletHandler | |
| _verbose | back to summary |
|---|---|
| private boolean _verbose | |
| 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 javax. Doc from javax. 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 javax. Doc from javax. 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 | Request(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 javax. Implements javax. Object,
or null if no attribute of the given name exists.
|
| public String | getPathInfo()
Overrides javax. Implements javax. |
| public String | getServletPath()
Overrides javax. Implements javax. |
| _included | back to summary |
|---|---|
| pack-priv boolean _included | |
| _pathInfo | back to summary |
|---|---|
| pack-priv String _pathInfo | |
| _servletPath | back to summary |
|---|---|
| pack-priv String _servletPath | |
| Request | back to summary |
|---|---|
| pack-priv Request(HttpServletRequest request, boolean included, String name, String servletPath, String pathInfo) | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Overrides javax. Implements javax. Doc from javax. 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 javax. Implements javax. Doc from javax. The default behavior of this method is to return getPathInfo() on the wrapped request object.
| |
| getServletPath | back to summary |
|---|---|
| public String getServletPath() Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to return getServletPath() on the wrapped request object.
| |