java.lang.Object
com.github.markusbernhardt.proxy.selector.whitelist.HostnameFilter
All Implemented Interfaces:
UriFilter

public class HostnameFilter extends Object implements UriFilter
Tests if a host name of a given URI matches some criteria.
Author:
Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
  • Constructor Details

    • HostnameFilter

      public HostnameFilter(HostnameFilter.Mode mode, String matchTo)
      Constructor
      Parameters:
      mode - the filter mode.
      matchTo - the match criteria.
  • Method Details