public static class ServletMeta.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String contextPath,
java.lang.Class<? extends javax.servlet.http.HttpServlet> servletClass)
Constructs a new instance of
ServletMeta.Builder with basic required parameters |
| Modifier and Type | Method and Description |
|---|---|
ServletMeta |
build() |
ServletMeta.Builder |
withAlwaysEnabled(boolean alwaysEnabled) |
public Builder(java.lang.String contextPath,
java.lang.Class<? extends javax.servlet.http.HttpServlet> servletClass)
ServletMeta.Builder with basic required parameterscontextPath - Context path the underlying servlet handlesservletClass - Specific implementation of the HttpServlet to handle the context pathpublic ServletMeta build()
public ServletMeta.Builder withAlwaysEnabled(boolean alwaysEnabled)
alwaysEnabled -