Annotation Type HttpWhiteboardServletMultipart
-
@ComponentPropertyType @Retention(CLASS) @Target(TYPE) public @interface HttpWhiteboardServletMultipart
Component Property Type for theosgi.http.whiteboard.servlet.multipart.enabled,osgi.http.whiteboard.servlet.multipart.fileSizeThreshold,osgi.http.whiteboard.servlet.multipart.location,osgi.http.whiteboard.servlet.multipart.maxFileSize, andosgi.http.whiteboard.servlet.multipart.maxRequestSizeservice properties.This annotation can be used on a
Servletto declare the values of theHTTP_WHITEBOARD_SERVLET_MULTIPART_ENABLED,HTTP_WHITEBOARD_SERVLET_MULTIPART_FILESIZETHRESHOLD,HTTP_WHITEBOARD_SERVLET_MULTIPART_LOCATION,HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXFILESIZE, andHTTP_WHITEBOARD_SERVLET_MULTIPART_MAXREQUESTSIZEservice properties.- Since:
- 1.1
- See Also:
- "Component Property Types"
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringPREFIX_Prefix for the property name.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanenabledService property identifying the multipart handling of a servlet.intfileSizeThresholdService property identifying the file size threshold for a multipart request handled by a servlet.java.lang.StringlocationService property identifying the location for a multipart request handled by a servlet.longmaxFileSizeService property identifying the max file size for a multipart request handled by a servlet.longmaxRequestSizeService property identifying the max request size for a multipart request handled by a servlet.
-
-
-
Element Detail
-
enabled
boolean enabled
Service property identifying the multipart handling of a servlet.- Returns:
- Whether the servlet supports multipart handling.
- See Also:
HTTP_WHITEBOARD_SERVLET_MULTIPART_ENABLED
- Default:
- true
-
-
-
fileSizeThreshold
int fileSizeThreshold
Service 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:
HTTP_WHITEBOARD_SERVLET_MULTIPART_FILESIZETHRESHOLD
- Default:
- 0
-
-
-
location
java.lang.String location
Service property identifying the location for a multipart request handled by a servlet.- Returns:
- The location for a multipart request..
- See Also:
HTTP_WHITEBOARD_SERVLET_MULTIPART_LOCATION
- Default:
- ""
-
-
-
maxFileSize
long maxFileSize
Service 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:
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXFILESIZE
- Default:
- -1L
-
-
-
maxRequestSize
long maxRequestSize
Service 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:
HTTP_WHITEBOARD_SERVLET_MULTIPART_MAXREQUESTSIZE
- Default:
- -1L
-
-