org.springframework.boot.web.filter.OrderedMultipartFilter Maven / Gradle / Ivy
package org.springframework.boot.web.filter;
import org.springframework.core.Ordered;
import org.springframework.web.multipart.MultipartResolver;
import org.springframework.web.multipart.support.MultipartFilterCustom;
public class OrderedMultipartFilter extends MultipartFilterCustom implements Ordered {
public OrderedMultipartFilter(MultipartResolver multipartResolver) {
super(multipartResolver);
}
private int order = -150;
@Override
public int getOrder() {
return order;
}
public void setOrder(int order) {
this.order = order;
}
}