@ComponentPropertyType @Retention(value=CLASS) @Target(value=TYPE) public @interface HttpWhiteboardServletMultipart
osgi.http.whiteboard.servlet.multipart.enabled,
osgi.http.whiteboard.servlet.multipart.fileSizeThreshold,
osgi.http.whiteboard.servlet.multipart.location,
osgi.http.whiteboard.servlet.multipart.maxFileSize, and
osgi.http.whiteboard.servlet.multipart.maxRequestSize service
properties.
This annotation can be used on a Servlet to declare the
values of the
HTTP_WHITEBOARD_SERVLET_MULTIPART_ENABLED,
HTTP_WHITEBOARD_SERVLET_MULTIPART_FILESIZETHRESHOLD,
HTTP_WHITEBOARD_SERVLET_MULTIPART_LOCATION,
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXFILESIZE, and
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXREQUESTSIZE service properties.
| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
PREFIX_
Prefix for the property name.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enabled
Service property identifying the multipart handling of a servlet.
|
int |
fileSizeThreshold
Service property identifying the file size threshold for a multipart
request handled by a servlet.
|
java.lang.String |
location
Service property identifying the location for a multipart request handled
by a servlet.
|
long |
maxFileSize
Service property identifying the max file size for a multipart request
handled by a servlet.
|
long |
maxRequestSize
Service property identifying the max request size for a multipart request
handled by a servlet.
|
public static final java.lang.String PREFIX_
public abstract boolean enabled
HTTP_WHITEBOARD_SERVLET_MULTIPART_ENABLEDpublic abstract int fileSizeThreshold
HTTP_WHITEBOARD_SERVLET_MULTIPART_FILESIZETHRESHOLDpublic abstract java.lang.String location
HTTP_WHITEBOARD_SERVLET_MULTIPART_LOCATIONpublic abstract long maxFileSize
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXFILESIZEpublic abstract long maxRequestSize
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXREQUESTSIZECopyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0