Class ServletDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.BaseServletDTO
org.osgi.service.servlet.runtime.dto.ServletDTO
- Direct Known Subclasses:
FailedServletDTO
Represents a
jakarta.servlet.Servlet currently being used by a servlet
context.- "NotThreadSafe"
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanSpecifies whether multipart support is enabled.intSpecifies the size threshold after which the file will be written to disk.Specifies the location where the files can be stored on disk.longSpecifies the maximum size of a file being uploaded.longSpecifies the maximum request size.String[]The request mappings for the servlet.Fields inherited from class org.osgi.service.servlet.runtime.dto.BaseServletDTO
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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 multipartEnabledSpecifies whether multipart support is enabled. -
multipartFileSizeThreshold
public int multipartFileSizeThresholdSpecifies the size threshold after which the file will be written to disk. If multipart is not enabled for this servlet,0is returned.- See Also:
-
multipartLocation
Specifies the location where the files can be stored on disk. If multipart is not enabled for this servlet,nullis returned.- See Also:
-
multipartMaxFileSize
public long multipartMaxFileSizeSpecifies the maximum size of a file being uploaded. If multipart is not enabled for this servlet,0is returned.- See Also:
-
multipartMaxRequestSize
public long multipartMaxRequestSizeSpecifies the maximum request size. If multipart is not enabled for this servlet,0is returned.- See Also:
-
-
Constructor Details
-
ServletDTO
public ServletDTO()
-