Class WebXml

    • Constructor Detail

      • WebXml

        public WebXml()
    • Method Detail

      • getContextParams

        public List<WebXmlContextParam> getContextParams()
        Get the context params.
        Returns:
        the context params.
      • getDefaultContextPath

        public String getDefaultContextPath()
        Get the default context path.
        Returns:
        the default context path.
      • getDenyUncoveredHttpMethods

        public boolean getDenyUncoveredHttpMethods()
        Get if we are denying uncovered HTTP methods.
        Returns:
        true if we are, false otherwise.
      • getDisplayName

        public String getDisplayName()
        Get the display name.
        Returns:
        the display name.
      • getErrorPages

        public List<WebXmlErrorPage> getErrorPages()
        Get the error pages.
        Returns:
        the error pages.
      • getFilters

        public List<WebXmlFilter> getFilters()
        Get the filters.
        Returns:
        the filters.
      • getFilterMappings

        public List<WebXmlFilterMapping> getFilterMappings()
        Get the filter mappings.
        Returns:
        the filter mappings.
      • getFragmentName

        public String getFragmentName()
        Get the fragment name.
        Returns:
        the fragment name.
      • getLoginConfig

        public WebXmlLoginConfig getLoginConfig()
        Get the login config.
        Returns:
        the login config.
      • getListeners

        public List<WebXmlListener> getListeners()
        Get the listeners.
        Returns:
        the listeners.
      • getMimeMappings

        public List<WebXmlMimeMapping> getMimeMappings()
        Get the mime mappings.
        Returns:
        the mime mappings.
      • getRequestCharacterEncoding

        public String getRequestCharacterEncoding()
        Get the request character encoding.
        Returns:
        the request character encoding.
      • getResponseCharacterEncoding

        public String getResponseCharacterEncoding()
        Get the response character encoding.
        Returns:
        the response character encoding.
      • getServlets

        public List<WebXmlServlet> getServlets()
        Get the servlets.
        Returns:
        the servlets.
      • getServletMappings

        public List<WebXmlServletMapping> getServletMappings()
        Get the servlet mappings.
        Returns:
        the servlet mappings.
      • getSessionConfig

        public WebXmlSessionConfig getSessionConfig()
        Get the session config.
        Returns:
        the session config.
      • getWelcomeFiles

        public List<String> getWelcomeFiles()
        Get the welcome files.
        Returns:
        welcome files.
      • isDistributable

        public boolean isDistributable()
        Is the application distributable.
        Returns:
        true if it is, false otherwise.
      • isFragment

        public boolean isFragment()
        Is this a web-fragment.
        Returns:
        true if it, false otherwise.
      • setDefaultContextPath

        public void setDefaultContextPath​(String defaultContextPath)
        Set the default context path.
        Parameters:
        defaultContextPath - the default context path.
      • setDenyUncoveredHttpMethods

        public void setDenyUncoveredHttpMethods​(boolean denyUncoveredHttpMethods)
        Set if we are denying uncovered HTTP methods.
        Parameters:
        denyUncoveredHttpMethods - the boolean value.
      • setDisplayName

        public void setDisplayName​(String displayName)
        Set the display name.
        Parameters:
        displayName - the display name.
      • setDistributable

        public void setDistributable​(boolean distributable)
        Set if we are distributable.
        Parameters:
        distributable - the boolean value.
      • setFragment

        public void setFragment​(boolean fragment)
        Set if we are a fragment.
        Parameters:
        fragment - the boolean value.
      • setFragmentName

        public void setFragmentName​(String fragmentName)
        Set the fragment name.
        Parameters:
        fragmentName - the fragment name.
      • setLoginConfig

        public void setLoginConfig​(WebXmlLoginConfig loginConfig)
        Set the login config.
        Parameters:
        loginConfig - the login config.
      • setRequestCharacterEncoding

        public void setRequestCharacterEncoding​(String requestCharacterEncoding)
        Set the request character encoding.
        Parameters:
        requestCharacterEncoding - the request character encoding.
      • setResponseCharacterEncoding

        public void setResponseCharacterEncoding​(String responseCharacterEncoding)
        Set the response character encoding.
        Parameters:
        responseCharacterEncoding - the response character encoding.
      • setSessionConfig

        public void setSessionConfig​(WebXmlSessionConfig sessionConfig)
        Set the session config.
        Parameters:
        sessionConfig - the session comfig.