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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestInfoDTO
calculateRequestInfoDTO(java.lang.String path)
Return a request info DTO containing the services involved with processing a request for the specified path.RuntimeDTO
getRuntimeDTO()
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 Http Whiteboard implementation.- Returns:
- The request info DTO for the specified path.
-
-