Serializable
public class WebXml extends Object implements Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
WebXml.SecurityConstraint |
The <security-constraint> snippet inside a web.xml /
webfragment.xml.
|
Modifier and Type | Field | Description |
---|---|---|
List<WebXml.SecurityConstraint> |
securityConstraints |
Stores the security constraints
|
Constructor | Description |
---|---|
WebXml() |
Modifier and Type | Method | Description |
---|---|---|
List<WebXmlContextParam> |
getContextParams() |
Get the context params.
|
String |
getDefaultContextPath() |
Get the default context path.
|
boolean |
getDenyUncoveredHttpMethods() |
Get if we are denying uncovered HTTP methods.
|
String |
getDisplayName() |
Get the display name.
|
List<WebXmlErrorPage> |
getErrorPages() |
Get the error pages.
|
List<WebXmlFilterMapping> |
getFilterMappings() |
Get the filter mappings.
|
List<WebXmlFilter> |
getFilters() |
Get the filters.
|
String |
getFragmentName() |
Get the fragment name.
|
List<WebXmlListener> |
getListeners() |
Get the listeners.
|
WebXmlLoginConfig |
getLoginConfig() |
Get the login config.
|
List<WebXmlMimeMapping> |
getMimeMappings() |
Get the mime mappings.
|
String |
getRequestCharacterEncoding() |
Get the request character encoding.
|
String |
getResponseCharacterEncoding() |
Get the response character encoding.
|
List<WebXmlServletMapping> |
getServletMappings() |
Get the servlet mappings.
|
List<WebXmlServlet> |
getServlets() |
Get the servlets.
|
WebXmlSessionConfig |
getSessionConfig() |
Get the session config.
|
boolean |
isDistributable() |
Is the application distributable.
|
boolean |
isFragment() |
Is this a web-fragment.
|
void |
setDefaultContextPath(String defaultContextPath) |
Set the default context path.
|
void |
setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods) |
Set if we are denying uncovered HTTP methods.
|
void |
setDisplayName(String displayName) |
Set the display name.
|
void |
setDistributable(boolean distributable) |
Set if we are distributable.
|
void |
setFragment(boolean fragment) |
Set if we are a fragment.
|
void |
setFragmentName(String fragmentName) |
Set the fragment name.
|
void |
setLoginConfig(WebXmlLoginConfig loginConfig) |
Set the login config.
|
void |
setRequestCharacterEncoding(String requestCharacterEncoding) |
Set the request character encoding.
|
void |
setResponseCharacterEncoding(String responseCharacterEncoding) |
Set the response character encoding.
|
void |
setSessionConfig(WebXmlSessionConfig sessionConfig) |
Set the session config.
|
public List<WebXml.SecurityConstraint> securityConstraints
public List<WebXmlContextParam> getContextParams()
public String getDefaultContextPath()
public boolean getDenyUncoveredHttpMethods()
public String getDisplayName()
public List<WebXmlErrorPage> getErrorPages()
public List<WebXmlFilter> getFilters()
public List<WebXmlFilterMapping> getFilterMappings()
public String getFragmentName()
public WebXmlLoginConfig getLoginConfig()
public List<WebXmlListener> getListeners()
public List<WebXmlMimeMapping> getMimeMappings()
public String getRequestCharacterEncoding()
public String getResponseCharacterEncoding()
public List<WebXmlServlet> getServlets()
public List<WebXmlServletMapping> getServletMappings()
public WebXmlSessionConfig getSessionConfig()
public boolean isDistributable()
public boolean isFragment()
public void setDefaultContextPath(String defaultContextPath)
defaultContextPath
- the default context path.public void setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods)
denyUncoveredHttpMethods
- the boolean value.public void setDisplayName(String displayName)
displayName
- the display name.public void setDistributable(boolean distributable)
distributable
- the boolean value.public void setFragment(boolean fragment)
fragment
- the boolean value.public void setFragmentName(String fragmentName)
fragmentName
- the fragment name.public void setLoginConfig(WebXmlLoginConfig loginConfig)
loginConfig
- the login config.public void setRequestCharacterEncoding(String requestCharacterEncoding)
requestCharacterEncoding
- the request character encoding.public void setResponseCharacterEncoding(String responseCharacterEncoding)
responseCharacterEncoding
- the response character encoding.public void setSessionConfig(WebXmlSessionConfig sessionConfig)
sessionConfig
- the session comfig.Copyright © 2020 Piranha Cloud. All rights reserved.