Class HttpServiceTracker.HttpContextExtensionServiceImpl

java.lang.Object
org.eclipse.equinox.http.registry.internal.HttpServiceTracker.HttpContextExtensionServiceImpl
All Implemented Interfaces:
HttpContextExtensionService
Enclosing class:
HttpServiceTracker

public class HttpServiceTracker.HttpContextExtensionServiceImpl extends Object implements HttpContextExtensionService
  • Constructor Details

    • HttpContextExtensionServiceImpl

      public HttpContextExtensionServiceImpl(Bundle bundle)
  • Method Details

    • getHttpContext

      public HttpContext getHttpContext(ServiceReference<HttpService> httpServiceReference, String httpContextId)
      Description copied from interface: HttpContextExtensionService
      returns the HttpContext associated with the HttpService reference and http context name
      Specified by:
      getHttpContext in interface HttpContextExtensionService
      Parameters:
      httpServiceReference - The ServiceReference of the http service to which this HttpContext applies
      httpContextId - The name of the HttpContext. Must be provided
      Returns:
      The HttpContext associated with the "id" and Http Service Reference; null if the HttpContext is unavailable.