Class FailedErrorPageDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.http.runtime.dto.BaseServletDTO
-
- org.osgi.service.http.runtime.dto.ErrorPageDTO
-
- org.osgi.service.http.runtime.dto.FailedErrorPageDTO
-
public class FailedErrorPageDTO extends ErrorPageDTO
Represents ajavax.servlet.Servletservice registered as an error page but 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.servletContextIdalways returns0and does not point to an existingServletContextHelper.
-
-
Field Summary
Fields Modifier and Type Field Description intfailureReasonThe reason why the servlet represented by this DTO is not used.-
Fields inherited from class org.osgi.service.http.runtime.dto.ErrorPageDTO
errorCodes, exceptions
-
Fields inherited from class org.osgi.service.http.runtime.dto.BaseServletDTO
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo
-
-
Constructor Summary
Constructors Constructor Description FailedErrorPageDTO()
-
-
-
Field Detail
-
failureReason
public int failureReason
The reason why the servlet represented by this DTO is not used.- See Also:
DTOConstants.FAILURE_REASON_UNKNOWN,DTOConstants.FAILURE_REASON_EXCEPTION_ON_INIT,DTOConstants.FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING,DTOConstants.FAILURE_REASON_SERVICE_NOT_GETTABLE,DTOConstants.FAILURE_REASON_SERVLET_CONTEXT_FAILURE,DTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE
-
-