Class 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 Detail

      • HostnameFilter

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