Interface HttpContextFactoryService


public interface HttpContextFactoryService
Create ServletContextHelper instances when registering servlets, resources or filters.
Author:
Henning Treu - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    org.osgi.service.servlet.context.ServletContextHelper
    createDefaultHttpContext(org.osgi.framework.Bundle bundle)
    Creates a ServletContextHelper according to the OSGi whiteboard specification.
  • Method Details

    • createDefaultHttpContext

      org.osgi.service.servlet.context.ServletContextHelper createDefaultHttpContext(org.osgi.framework.Bundle bundle)
      Creates a ServletContextHelper according to the OSGi whiteboard specification.
      Parameters:
      bundle - the bundle which will be used by this ServletContextHelper to resolve resources.
      Returns:
      the ServletContextHelper for the given bundle.