@Override
        public String segmentString(PathMappingType type) {
            switch (type) {
                case PARAMETERIZED:
                    return ':' + pathVariable(type);
                case GLOB:
                    return "*";
                case REGEX:
                    return "(?<" + pathVariable(type) + ">[^/]+)";
            }
            throw new Error();
        }
Returns whether the specified {@link PathMappingType} is supported by
this {@link PathSegment}.
grpc/src/main/java/com/linecorp/armeria/server/grpc/HttpJsonTranscodingPathParser.java