Package org.osgi.service.servlet.runtime
Interface HttpServiceRuntime
-
@ProviderType public interface HttpServiceRuntime
The HttpServiceRuntime service represents the runtime information of a Servlet Whiteboard implementation.It provides access to DTOs representing the current state of the service.
The HttpServiceRuntime service must be registered with the
HttpServiceRuntimeConstants.HTTP_SERVICE_ENDPOINTservice property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestInfoDTOcalculateRequestInfoDTO(java.lang.String path)Return a request info DTO containing the services involved with processing a request for the specified path.RuntimeDTOgetRuntimeDTO()Return the runtime DTO representing the current state.
-
-
-
Method Detail
-
getRuntimeDTO
RuntimeDTO getRuntimeDTO()
Return the runtime DTO representing the current state.- Returns:
- The runtime DTO.
-
calculateRequestInfoDTO
RequestInfoDTO calculateRequestInfoDTO(java.lang.String path)
Return a request info DTO containing the services involved with processing a request for the specified path.- Parameters:
path- The request path, relative to the root of the Servlet Whiteboard implementation.- Returns:
- The request info DTO for the specified path.
-
-