Holds the name, params and some state of a jakarta.servlet.Servlet instance. It implements the ServletConfig interface. This class will organise the loading of the servlet when needed or requested.
| Modifier and Type | Class and Description |
|---|---|
| protected class | |
| public static enum | |
| private static class | |
| public class | |
| private static class | |
| private class | |
| private class | |
| public static interface | ServletHolder.WrapFunction
Experimental Wrapper mechanism for Servlet objects. |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private ServletHolder. | |
| private boolean | |
| private String | |
| private boolean | |
| private int | |
| private ServletHolder. | |
| private ServletHolder. | |
| private Map | |
| private String | |
| private volatile Servlet | |
| public static final String | |
| public static final String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | ServletHolder(String
the name of the servlet name, Class<? extends Servlet> the servlet class servlet)Constructor for servlet class. |
| public | ServletHolder(String
the servlet name name, Servlet the servlet servlet)Constructor for servlet class. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | appendPath(StringBuffer
the path under construction path, String the element of the name to add element)Concatenate an element on to fully qualified classname. |
| private void | checkInitOnStartup()
Check if there is a jakarta.servlet.annotation.ServletSecurity annotation on the servlet class. |
| public void | |
| public int | compareTo(ServletHolder
the object to be compared. sh)Implements java. |
| protected Servlet | |
| public void | |
| private void | |
| public void | doStart()
Overrides org. |
| public void | doStop()
Method to override to stop the lifecycle
|
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Overrides org. Implements org. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public String | |
| public String | |
| public int | |
| public String | |
| public MultipartConfigElement | |
| public String | |
| public String | |
| public ServletHolder. | |
| public Map | |
| public String | |
| public Servlet | |
| public Servlet | |
| public UnavailableException | |
| public String | Returns: The name as translated by the link. If no link exists, the name is returned.The name of the role name)get a user role link. |
| public void | handle(ServletRequest
the request request, ServletResponse the response response)Service a request with this servlet. |
| public int | |
| public void | initialize()
Overrides org. |
| protected void | |
| private void | |
| public boolean | |
| public boolean | |
| protected boolean | |
| protected boolean | |
| private Servlet | |
| private void | |
| protected Servlet | |
| private void | |
| protected void | prepare(ServletRequest
the request request, ServletResponse the response response)Prepare to service a request. |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setUserRoleLink(String
The role name as used by the servlet name, String The role name as used by the container. link)Link a user role. |
| public String | toString()
Returns a string representation of the object.
|