Class FailedServletDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.BaseServletDTO
org.osgi.service.servlet.runtime.dto.ServletDTO
org.osgi.service.servlet.runtime.dto.FailedServletDTO
Represents a
jakarta.servlet.Servlet service which is currently not
being used by a servlet context due to a problem.
As the servlet represented by this DTO is not used due to a failure, the
field BaseServletDTO.servletContextId always returns 0 and
does not point to an existing servlet context.
- "NotThreadSafe"
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe reason why the servlet represented by this DTO is not used.Fields inherited from class org.osgi.service.servlet.runtime.dto.ServletDTO
multipartEnabled, multipartFileSizeThreshold, multipartLocation, multipartMaxFileSize, multipartMaxRequestSize, patternsFields inherited from class org.osgi.service.servlet.runtime.dto.BaseServletDTO
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
failureReason
public int failureReasonThe reason why the servlet represented by this DTO is not used.- See Also:
-
DTOConstants.FAILURE_REASON_UNKNOWNDTOConstants.FAILURE_REASON_EXCEPTION_ON_INITDTOConstants.FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHINGDTOConstants.FAILURE_REASON_SERVICE_NOT_GETTABLEDTOConstants.FAILURE_REASON_SERVLET_CONTEXT_FAILUREDTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICEDTOConstants.FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIEDDTOConstants.FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIEDDTOConstants.FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED
-
-
Constructor Details
-
FailedServletDTO
public FailedServletDTO()
-