Interface HttpContextExtensionService

All Known Implementing Classes:

public interface HttpContextExtensionService
The HttpContextExtensionService provides access to an HttpContext instance whose resources and implementation are added via the "httpcontexts" extension point.
This interface is not intended to be implemented by clients.
This interface is not intended to be extended by clients.
  • Method Details

    • getHttpContext

      HttpContext getHttpContext(ServiceReference<HttpService> httpServiceReference, String httpContextId)
      returns the HttpContext associated with the HttpService reference and http context name
      httpServiceReference - The ServiceReference of the http service to which this HttpContext applies
      httpContextId - The name of the HttpContext. Must be provided
      The HttpContext associated with the "id" and Http Service Reference; null if the HttpContext is unavailable.