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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHttpContext
(ServiceReference<HttpService> httpServiceReference, String httpContextId) returns the HttpContext associated with the HttpService reference and http context name
-
Constructor Details
-
HttpContextExtensionServiceImpl
-
-
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 interfaceHttpContextExtensionService
- Parameters:
httpServiceReference
- The ServiceReference of the http service to which this HttpContext applieshttpContextId
- 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.
-