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

org.zodiac.autoconfigure.web.ServletMultipartConfigProperties Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.web;

import org.springframework.util.unit.DataSize;
import org.zodiac.core.web.servlet.ServletMultipartConfigInfo;

public class ServletMultipartConfigProperties extends ServletMultipartConfigInfo {

    public ServletMultipartConfigProperties() {
    }

    @Override
    public ServletMultipartConfigProperties setEnabled(boolean enabled) {
        super.setEnabled(enabled);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setLocation(String location) {
        super.setLocation(location);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setMaxFileSize(DataSize maxFileSize) {
        super.setMaxFileSize(maxFileSize);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setMaxRequestSize(DataSize maxRequestSize) {
        super.setMaxRequestSize(maxRequestSize);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setFileSizeThreshold(DataSize fileSizeThreshold) {
        super.setFileSizeThreshold(fileSizeThreshold);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setResolveLazily(boolean resolveLazily) {
        super.setResolveLazily(resolveLazily);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setMaxMemorySizePerPart(DataSize maxMemorySizePerPart) {
        super.setMaxMemorySizePerPart(maxMemorySizePerPart);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setEnableRequestLogging(boolean enableRequestLogging) {
        super.setEnableRequestLogging(enableRequestLogging);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setMaxParts(int maxParts) {
        super.setMaxParts(maxParts);
        return this;
    }

    @Override
    public ServletMultipartConfigProperties setMaxDiskUsagePerPart(DataSize maxDiskUsagePerPart) {
        super.setMaxDiskUsagePerPart(maxDiskUsagePerPart);
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy