public class ServletMeta
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServletMeta.Builder |
Constructor and Description |
---|
ServletMeta(java.lang.String contextPath,
java.lang.Class<? extends javax.servlet.http.HttpServlet> servletClass)
Constructs a new instance of
ServletMeta with the alwaysEnabled functionality turned off. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextPath() |
java.lang.Class<? extends javax.servlet.http.HttpServlet> |
getServletClass() |
boolean |
isAlwaysEnabled() |
public ServletMeta(java.lang.String contextPath, java.lang.Class<? extends javax.servlet.http.HttpServlet> servletClass)
ServletMeta
with the alwaysEnabled functionality turned off.contextPath
- Context path the underlying servlet handlesservletClass
- Specific implementation of the HttpServlet
to handle the context path