public RouteBuilder pathPrefix(String prefix) {
        return pathPrefix(prefix, true);
    }
Sets the {@link Route} to match when a {@linkplain ServiceRequestContext#path() path} is under the
specified {@code prefix}. It also removes the specified {@code prefix} from the matched path so that
{@linkplain ServiceRequestContext#mappedPath() mappedPath} does not have the specified {@code prefix}.
For example, when {@code prefix} is {@code "/foo/"}:
<ul>
  <li>{@code "/foo/"} translates to {@code "/"}</li>
  <li>{@code "/foo/bar"} translates to {@code "/bar"}</li>
  <li>{@code "/foo/bar/baz"} translates to {@code "/bar/baz"}</li>
</ul>
This method is a shortcut to {@linkplain #pathPrefix(String, boolean) pathPrefix(prefix, true)}.
core/src/main/java/com/linecorp/armeria/server/RouteBuilder.java