code: public T withQueryDetection(final String... pattern) {
          if (pattern == null) {
              throw new IllegalArgumentException();
          } // end of if
  
          // ---
  
          final Pattern[] ps = new Pattern[pattern.length];
  
          int i = 0;
          for (final String p : pattern) {
              ps[i++] = Pattern.compile(p);
          } // end of for
  
          return withQueryDetection(ps);
      }
docs: Returns an new handler based on this one, but including given
  query detection |pattern|. If there is already existing pattern,
  the new one will be used after.
  
  @param pattern Query detection pattern list
  @return New composite handler with given detection pattern
  @throws java.util.regex.PatternSyntaxException If |pattern| is invalid
  @see #withQueryDetection(java.util.regex.Pattern[])