All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.vertx.http.runtime.MultiPartConfig Maven / Gradle / Ivy

The newest version!
package io.quarkus.vertx.http.runtime;

import java.util.List;
import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConvertWith;
import io.quarkus.runtime.configuration.TrimmedStringConverter;

/**
 * A {@link ConfigGroup} for the settings related to HTTP multipart request handling.
 */
@ConfigGroup
public class MultiPartConfig {

    /**
     * A comma-separated list of {@code ContentType} to indicate whether a given multipart field should be handled as a file
     * part.
     *
     * You can use this setting to force HTTP-based extensions to parse a message part as a file based on its content type.
     *
     * For now, this setting only works when using RESTEasy Reactive.
     */
    @ConfigItem
    @ConvertWith(TrimmedStringConverter.class)
    public Optional> fileContentTypes;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy