public static Scheme parse(String scheme) {
        final Scheme parsedScheme = tryParse(requireNonNull(scheme, "scheme"));
        if (parsedScheme == null) {
            throw new IllegalArgumentException("scheme: " + scheme);
        }
        return parsedScheme;
    }
Parses the specified {@link String} into a {@link Scheme}. This method will return the same
{@link Scheme} instance for equal values of {@code scheme}.

@throws IllegalArgumentException if the specified {@link String} could not be parsed or
                                 there is no such {@link Scheme} available
core/src/main/java/com/linecorp/armeria/common/Scheme.java