? FailedServletDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.http.runtime.dto.BaseServletDTO
org.osgi.service.http.runtime.dto.ServletDTO
org.osgi.service.http.runtime.dto.FailedServletDTO
Represents a
javax.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.
-
????
????????? org.osgi.service.http.runtime.dto.ServletDTO
multipartEnabled, multipartFileSizeThreshold, multipartLocation, multipartMaxFileSize, multipartMaxRequestSize, patterns
??????? org.osgi.service.http.runtime.dto.BaseServletDTO
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo
-
?????
??? -
????
??????? org.osgi.dto.DTO
toString
-
??????
-
failureReason
public int failureReasonThe reason why the servlet represented by this DTO is not used.- ????:
-
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
DTOConstants.FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED
DTOConstants.FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED
DTOConstants.FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED
-
-
???????
-
FailedServletDTO
public FailedServletDTO()
-