Package com.rosivanyshyn.controller.security.filter

# Class EncodingFilter

java.lang.Object
com.rosivanyshyn.controller.security.filter.EncodingFilter

All Implemented Interfaces:
  `jakarta.servlet.Filter`

@WebFilter(urlPatterns="/*", initParams=@WebInitParam(name="encoding",value="UTF-8",description="Encoding Param")) public class EncodingFilter extends Object implements jakarta.servlet.Filter
Encoding Filter class.
Check and change page character encoding to UTF-8

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EncodingFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `destroy()`
  `void`
  `doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)`
  `void`
  `init(jakarta.servlet.FilterConfig fConfig)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EncodingFilter

    public EncodingFilter()

- ## Method Details

  - ### init

    public void init(jakarta.servlet.FilterConfig fConfig)
    Specified by:
      `init` in interface `jakarta.servlet.Filter`

  - ### doFilter

    public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
    Specified by:
      `doFilter` in interface `jakarta.servlet.Filter`
    Throws:
      `IOException`
      `jakarta.servlet.ServletException`

  - ### destroy

    public void destroy()
    Specified by:
      `destroy` in interface `jakarta.servlet.Filter`