Class BrowserHelperFilter

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Filter, javax.servlet.FilterConfig

    @Deprecated
    public class BrowserHelperFilter
    extends GenericFilter
    Deprecated.
    BrowserHelperFilter
    Version:
    $Id: BrowserHelperFilter.java#1 $
    Author:
    Harald Kuhr
    See Also:
    Serialized Form
    • Field Detail

      • HTTP_HEADER_USER_AGENT

        protected static final java.lang.String HTTP_HEADER_USER_AGENT
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BrowserHelperFilter

        public BrowserHelperFilter()
        Deprecated.
    • Method Detail

      • setAcceptMappingsFile

        @InitParam(name="accept-mappings-file")
        public void setAcceptMappingsFile​(java.lang.String pPropertiesFile)
                                   throws ServletConfigException
        Deprecated.
        Sets the accept-mappings for this filter
        Parameters:
        pPropertiesFile - name of accept-mappings properties files
        Throws:
        ServletConfigException - if the accept-mappings properties file cannot be read.
      • init

        public void init()
                  throws javax.servlet.ServletException
        Deprecated.
        Description copied from class: GenericFilter
        A convenience method which can be overridden so that there's no need to call super.init(config).
        Overrides:
        init in class GenericFilter
        Throws:
        javax.servlet.ServletException - if an error occurs during init
        See Also:
        GenericFilter.init(FilterConfig)
      • doFilterImpl

        protected void doFilterImpl​(javax.servlet.ServletRequest pRequest,
                                    javax.servlet.ServletResponse pResponse,
                                    javax.servlet.FilterChain pChain)
                             throws java.io.IOException,
                                    javax.servlet.ServletException
        Deprecated.
        Description copied from class: GenericFilter
        Invoked once, or each time a request/response pair is passed through the chain, depending on the GenericFilter.oncePerRequest member variable.
        Specified by:
        doFilterImpl in class GenericFilter
        Parameters:
        pRequest - the servlet request
        pResponse - the servlet response
        pChain - the filter chain
        Throws:
        java.io.IOException - if an I/O error occurs
        javax.servlet.ServletException - if an exception occurs during the filter process
        See Also:
        GenericFilter.oncePerRequest, doFilter, Filter.doFilter