boolean requires ( final String value ) { if ( requires ( myPrefix , value ) || requires ( myPostfix , value ) ) { return true ; } if ( mySuffixes == null ) { return false ; } for ( final Literal suffix : mySuffixes ) { if ( requires ( suffix , value ) ) { return true ; } } return false ; }
Tests whether this rule needs a specific string in the useragent to match .