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

org.jboss.resteasy.reactive.server.multipart.MultipartFormDataInput Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.server.multipart;

import java.util.Collection;
import java.util.Collections;
import java.util.Map;

/**
 * Used when a Resource method needs to read all the parts of a multipart input without apriori knowledge of the structure of
 * the requests
 */
public interface MultipartFormDataInput {

    Map> getValues();

    class Empty implements MultipartFormDataInput {

        public static final Empty INSTANCE = new Empty();

        @Override
        public Map> getValues() {
            return Collections.emptyMap();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy