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

internal.org.springframework.content.rest.io.InputStreamResource Maven / Gradle / Ivy

There is a newer version: 3.0.15
Show newest version
package internal.org.springframework.content.rest.io;

import java.io.InputStream;

public class InputStreamResource extends org.springframework.core.io.InputStreamResource {

    private final String filename;

    public InputStreamResource(InputStream inputStream, String originalFilename) {

        super(inputStream);

        this.filename = originalFilename;
    }

    @Override
    public String getFilename() {
        return filename;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy