Eclipse Platform
Kepler (4.3)

org.eclipse.equinox.http.registry
Interface HttpContextExtensionService


public interface HttpContextExtensionService

The HttpContextExtensionService provides access to an HttpContext instance whose resources and implementation are added via the "httpcontexts" extension point.

Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 org.osgi.service.http.HttpContext getHttpContext(org.osgi.framework.ServiceReference httpServiceReference, java.lang.String httpContextId)
          returns the HttpContext associated with the HttpService reference and http context name
 

Method Detail

getHttpContext

org.osgi.service.http.HttpContext getHttpContext(org.osgi.framework.ServiceReference httpServiceReference,
                                                 java.lang.String httpContextId)
returns the HttpContext associated with the HttpService reference and http context name

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.

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.