private static String concatWithSlash(List<PathSegment> segments, PathMappingType type) {
            return segments.stream()
                           .map(segment -> segment.segmentString(type))
                           .collect(Collectors.joining("/"));
        }
Returns whether the specified {@link PathMappingType} is supported by
this {@link PathSegment}.
grpc/src/main/java/com/linecorp/armeria/server/grpc/HttpJsonTranscodingPathParser.java