Class ServletDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.http.runtime.dto.BaseServletDTO
-
- org.osgi.service.http.runtime.dto.ServletDTO
-
- Direct Known Subclasses:
FailedServletDTO
public class ServletDTO extends BaseServletDTO
Represents ajavax.servlet.Servletcurrently being used by a servlet context.
-
-
Field Summary
Fields Modifier and Type Field Description booleanmultipartEnabledSpecifies whether multipart support is enabled.intmultipartFileSizeThresholdSpecifies the size threshold after which the file will be written to disk.java.lang.StringmultipartLocationSpecifies the location where the files can be stored on disk.longmultipartMaxFileSizeSpecifies the maximum size of a file being uploaded.longmultipartMaxRequestSizeSpecifies the maximum request size.java.lang.String[]patternsThe request mappings for the servlet.-
Fields inherited from class org.osgi.service.http.runtime.dto.BaseServletDTO
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo
-
-
Constructor Summary
Constructors Constructor Description ServletDTO()
-
-
-
Field Detail
-
patterns
public java.lang.String[] patterns
The request mappings for the servlet.The specified patterns are used to determine whether a request is mapped to the servlet. This array is never
null. It might be empty for named servlets.
-
multipartEnabled
public boolean multipartEnabled
Specifies whether multipart support is enabled.- Since:
- 1.1
-
multipartFileSizeThreshold
public int multipartFileSizeThreshold
Specifies the size threshold after which the file will be written to disk. If multipart is not enabled for this servlet,0is returned.- Since:
- 1.1
- See Also:
multipartEnabled
-
multipartLocation
public java.lang.String multipartLocation
Specifies the location where the files can be stored on disk. If multipart is not enabled for this servlet,nullis returned.- Since:
- 1.1
- See Also:
multipartEnabled
-
multipartMaxFileSize
public long multipartMaxFileSize
Specifies the maximum size of a file being uploaded. If multipart is not enabled for this servlet,0is returned.- Since:
- 1.1
- See Also:
multipartEnabled
-
multipartMaxRequestSize
public long multipartMaxRequestSize
Specifies the maximum request size. If multipart is not enabled for this servlet,0is returned.- Since:
- 1.1
- See Also:
multipartEnabled
-
-