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
Modifier and TypeFieldDescriptionboolean
Specifies whether multipart support is enabled.int
Specifies the size threshold after which the file will be written to disk.Specifies the location where the files can be stored on disk.long
Specifies the maximum size of a file being uploaded.long
Specifies 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
-
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,0
is returned.- See Also:
-
multipartLocation
Specifies the location where the files can be stored on disk. If multipart is not enabled for this servlet,null
is returned.- See Also:
-
multipartMaxFileSize
public long multipartMaxFileSizeSpecifies the maximum size of a file being uploaded. If multipart is not enabled for this servlet,0
is returned.- See Also:
-
multipartMaxRequestSize
public long multipartMaxRequestSizeSpecifies the maximum request size. If multipart is not enabled for this servlet,0
is returned.- See Also:
-
-
Constructor Details
-
ServletDTO
public ServletDTO()
-