code: public void init(final FilterConfig filterConfig) {
          final String host = filterConfig.getInitParameter("host");
          if (StringUtils.isNotBlank(host)) {
              this.host = host;
          }
      }
docs: Initialize "host" parameter from web.xml.
  
  @param filterConfig A filter configuration object used by a servlet container
  to pass information to a filter during initialization.