Annotation Type HttpWhiteboardServletMultipart
@ComponentPropertyType
@Retention(CLASS)
@Target(TYPE)
public @interface HttpWhiteboardServletMultipart
Component Property Type for the
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.
- Since:
- 1.1
- Author:
- $Id: ba7b503d35d4b5226fe263372257eeb9cac5140e $
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Service property identifying the multipart handling of a servlet.int
Service property identifying the file size threshold for a multipart request handled by a servlet.Service property identifying the location for a multipart request handled by a servlet.long
Service property identifying the max file size for a multipart request handled by a servlet.long
Service property identifying the max request size for a multipart request handled by a servlet. -
Field Summary
Fields
-
Field Details
-
PREFIX_
Prefix for the property name. This value is prepended to each property name.- See Also:
-
-
Element Details
-
enabled
boolean enabledService property identifying the multipart handling of a servlet.- Returns:
- Whether the servlet supports multipart handling.
- See Also:
- Default:
true
-
fileSizeThreshold
int fileSizeThresholdService property identifying the file size threshold for a multipart request handled by a servlet.- Returns:
- The file size threshold for a multipart request..
- See Also:
- Default:
0
-
location
String locationService property identifying the location for a multipart request handled by a servlet.- Returns:
- The location for a multipart request..
- See Also:
- Default:
""
-
maxFileSize
long maxFileSizeService property identifying the max file size for a multipart request handled by a servlet.- Returns:
- The max file size for a multipart request..
- See Also:
- Default:
-1L
-
maxRequestSize
long maxRequestSizeService property identifying the max request size for a multipart request handled by a servlet.- Returns:
- The max request size for a multipart request..
- See Also:
- Default:
-1L
-