IT. Expert System.

Java Enterprise Edition (EE)

MultipartConfig


javax.servlet.annotation
Annotation Type MultipartConfig

@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface MultipartConfig

Annotation that may be specified on a Servlet class, indicating that instances of the Servlet expect requests that conform to the multipart/form-data MIME type.

Servlets annotated with MultipartConfig may retrieve the Part components of a given multipart/form-data request by calling getPart or getParts.

Optional Element Summary
 int fileSizeThreshold
          The size threshold after which the file will be written to disk
 java.lang.String location
          The directory location where files will be stored
 long maxFileSize
          The maximum size allowed for uploaded files.
 long maxRequestSize
          The maximum size allowed for multipart/form-data requests
 

location

public abstract java.lang.String location
The directory location where files will be stored

Default:
""

maxFileSize

public abstract long maxFileSize
The maximum size allowed for uploaded files.

The default is -1L, which means unlimited.

Default:
-1L

maxRequestSize

public abstract long maxRequestSize
The maximum size allowed for multipart/form-data requests

The default is -1L, which means unlimited.

Default:
-1L

fileSizeThreshold

public abstract int fileSizeThreshold
The size threshold after which the file will be written to disk

Default:
0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1062 / . Delta: 0.03319 с