class JavaFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {<FILL_FUNCTION_BODY>}

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
            throws IOException, ServletException {
        log.info("java filter processing.");
        chain.doFilter(request, response);
    }

    @Override
    public void destroy() {
        log.info("java filter destroy.");
    }

}

        log.info("java filter init.");
        String name = filterConfig.getInitParameter("name");
        String code = filterConfig.getInitParameter("code");
        log.info("name is " + name);
        log.info("code is " + code);
    
<no_super_class>