public class ServletMapping extends ServletConfigImpl
ServletConfigImpl.FRAGMENT_MODE, ServletConfigImpl.RunAs
ServletRegistration.Dynamic
log
Constructor and Description |
---|
ServletMapping()
Creates a new servlet mapping object.
|
Modifier and Type | Method and Description |
---|---|
void |
addURLPattern(java.lang.String pattern)
Sets the url pattern
|
void |
addURLRegexp(java.lang.String pattern)
Sets the url regexp
|
void |
create(WebServlet webServlet) |
void |
init(ServletMapper mapper)
initialize.
|
boolean |
isDefault()
True for default mapping that can be overridden by programmatic mapping.
|
boolean |
isStrictMapping()
True if strict mapping should be enabled.
|
void |
setDefault(boolean isDefault)
Set for default mapping that can be overridden by programmatic mapping.
|
void |
setIfAbsent(boolean ifAbsent) |
void |
setStrictMapping(boolean isStrictMapping)
Set if strict mapping should be enabled.
|
java.lang.String |
toString()
Returns a printable representation of the servlet config object.
|
addMapping, addSecurityRoleRef, calculateServletClassName, checkConstructor, close, copyFrom, createInitParam, createMultipartConfig, createRegexpConfig, createRunAt, createServlet, createServletChain, error, error, error, getBean, getClassName, getCron, getDisplayName, getInit, getInitParameter, getInitParameterNames, getInitParameters, getInitParamMap, getJspFile, getLoadOnStartup, getMappings, getMultipartConfig, getName, getRoleMap, getRunAsRole, getRunAt, getSecurityElement, getServlet, getServletClass, getServletClassName, getServletContext, getServletManager, getServletName, getServletNameDefault, handleAlarm, init, isAsyncSupported, isInFragmentMode, isServletConfig, merge, setAllowEL, setAsyncSupported, setBean, setConfigUriLocation, setCron, setDescription, setDisplayName, setIcon, setId, setInFragmentMode, setInit, setInitException, setInitParam, setInitParam, setInitParameter, setInitParameters, setJndiName, setJspFile, setLoadOnStartup, setMultipartConfig, setProtocol, setProtocolFactory, setRunAs, setRunAsRole, setServlet, setServletClass, setServletClass, setServletContext, setServletManager, setServletMapper, setServletName, setServletNameDefault, setServletSecurity, setVar, setWebApp, validateClass
public void create(WebServlet webServlet)
public void setIfAbsent(boolean ifAbsent)
public void addURLPattern(java.lang.String pattern)
public void addURLRegexp(java.lang.String pattern)
public boolean isStrictMapping()
public void setStrictMapping(boolean isStrictMapping)
public void setDefault(boolean isDefault)
public boolean isDefault()
public void init(ServletMapper mapper) throws ServletException
ServletException
public java.lang.String toString()
toString
in class ServletConfigImpl