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

com.jwebmp.plugins.blueimp.fileupload.options.BlueImpFileUploadDefaultOptions Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.2.2.1-jre17
Show newest version
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