org.jboss.resteasy.reactive.server.multipart.MultipartFormDataInput Maven / Gradle / Ivy
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