code: public void setUrlPattern(String filterURI) {
          // determine what type of filter uri we have and set the mapping type
          if (filterURI.equals("/"))
              mappingType = WebAppFilterManager.FMI_MAPPING_SINGLE_SLASH;
          else if (filterURI.startsWith("/") && filterURI.endsWith("/*")) {
              mappingType = WebAppFilterManager.FMI_MAPPING_PATH_MATCH;
  
              // go ahead and strip the /* for later matching
              filterURI = filterURI.substring(0, filterURI.length() - 2);
          } else if (filterURI.startsWith("*."))
              mappingType = WebAppFilterManager.FMI_MAPPING_EXTENSION_MATCH;
          // PK57083 START
          else if (WCCustomProperties.MAP_FILTERS_TO_ASTERICK && filterURI.equals("*")) {
              mappingType = WebAppFilterManager.FMI_MAPPING_PATH_MATCH;
              filterURI = "";
          }
          // PK57083 END
          else
              mappingType = WebAppFilterManager.FMI_MAPPING_EXACT_MATCH;
  
          this.urlPattern = filterURI;
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.ibm.ws.webcontainer.filter.IFilterMapping#setUrlPattern(java.lang
  .String)