Package org.osgi.service.http.runtime
Interface HttpServiceRuntime
@ProviderType
public interface HttpServiceRuntime
The HttpServiceRuntime service represents the runtime information of an Http
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.
- Author:
- $Id: fde5b917c3d888c6cf1aa77bb330eb5b8b4e3919 $
-
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 Http Whiteboard implementation.- Returns:
- The request info DTO for the specified path.
-