code: public UriMappingResolver addDomain(String domain, String replacement) {
          addDomainPattern(quote(domain) + "[/]*(.*)", replacement);
          return this;
      }
docs: Adds a domain for relative lookup.
  All uris starting with {@code domain} will be replaced with
  {@code replacement}. In the replacement string {@code "$1"}, will
  be replaced with path of the request uri.
  Path separators ({@code '/'}) between the domain and the path will be removed.
  @param domain
  @param replacement
  @return this