code: public boolean getBooleanReqPar(final String name,
                                    final boolean defVal) throws Throwable {
      boolean val = defVal;
      Boolean valB = getBooleanReqPar(name);
      if (valB != null) {
        val = valB;
      }
  
      return val;
    }
docs: Get a boolean valued request parameter giving a default value.
  
  @param name    name of parameter
  @param defVal default value for absent parameter
  @return  boolean   value
  @throws Throwable