public class ApiKt
| Modifier and Type | Method and Description |
|---|---|
static <T extends ComponentsProvider> |
buildApi(RootApiBuilder<T> builder)
Builds the API defined by the builder.
|
static java.util.Set<java.lang.String> |
getSTANDARD_BINARY_MIME_TYPES()
The MIME types that are treated as binary by default.
|
@NotNull public static java.util.Set<java.lang.String> getSTANDARD_BINARY_MIME_TYPES()
The MIME types that are treated as binary by default.
The user can specify additional types that should be treated as binary using binaryMimeTypes in
the API definition.
@NotNull public static <T extends ComponentsProvider> Api<T> buildApi(@NotNull RootApiBuilder<T> builder)
Builds the API defined by the builder.
This function is an implementation detail and not intended to be called by users.