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_ENDPOINT
service property.
- "ThreadSafe"
-
Method Summary
Modifier and TypeMethodDescriptionReturn a request info DTO containing the services involved with processing a request for the specified path.Return the runtime DTO representing the current state.
-
Method Details
-
getRuntimeDTO
RuntimeDTO getRuntimeDTO()Return the runtime DTO representing the current state.- Returns:
- The runtime DTO.
-
calculateRequestInfoDTO
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.
-