com.jwebmp.plugins.blueimp.fileupload.options.BlueImpFileUploadDefaultOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-blueimp-fileupload Show documentation
Show all versions of jwebmp-blueimp-fileupload Show documentation
File Upload widget with multiple file selection, drag and drop support, progress bar, validation and preview images, audio and video for jQuery.
Supports cross-domain, chunked and resumable file uploads.
Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.
package com.jwebmp.plugins.blueimp.fileupload.options;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.*;
import static com.fasterxml.jackson.annotation.JsonInclude.Include.*;
/**
* The default options settings for the blue imp file uploader
*
* @param
*/
@JsonAutoDetect(fieldVisibility = ANY,
getterVisibility = NONE,
setterVisibility = NONE)
@JsonInclude(NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BlueImpFileUploadDefaultOptions>
extends BlueImpFileUploadOptions>
{
/**
* Constructs a new instance of the default options
*/
public BlueImpFileUploadDefaultOptions()
{
setMaxFileSize(99999999);
setMaxChunkSize(204800);
setDisableImageResize("/Android(?!.*Chrome)|Opera/" + ".test(window.navigator.userAgent)");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy