Class BundleHttpContext

  • All Implemented Interfaces:
    org.osgi.service.http.HttpContext

    public class BundleHttpContext
    extends Object
    implements org.osgi.service.http.HttpContext
    A HttpContext that delegates resource lookup to contributed ResourcesDescriptor in the inverse order of the contribution (preserving the ordering imposed by extension mechanism)

    A BundleHttpContext is created for every declated servlet when it is registered against to HttpService. The context is removed when the servlet is unregistered.

    Author:
    Bogdan Stefanescu