org.glassfish.osgihttp
Class GlassFishHttpService

java.lang.Object
  extended by org.glassfish.osgihttp.GlassFishHttpService

public class GlassFishHttpService
extends Object

This contains most of the implementation of HttpService.

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
GlassFishHttpService(com.sun.enterprise.web.WebModule context)
           
 
Method Summary
 void registerResources(String alias, String name, org.osgi.service.http.HttpContext httpContext)
           
 void registerServlet(String alias, javax.servlet.Servlet servlet, Dictionary initParams, org.osgi.service.http.HttpContext httpContext)
          This method behaves the same way as HttpService.registerServlet(java.lang.String, javax.servlet.Servlet, java.util.Dictionary, org.osgi.service.http.HttpContext) except that it expects a non-null HttpContext object.
 void unregister(String alias, boolean callDestroy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassFishHttpService

public GlassFishHttpService(com.sun.enterprise.web.WebModule context)
Method Detail

registerServlet

public void registerServlet(String alias,
                            javax.servlet.Servlet servlet,
                            Dictionary initParams,
                            org.osgi.service.http.HttpContext httpContext)
                     throws org.osgi.service.http.NamespaceException,
                            javax.servlet.ServletException
This method behaves the same way as HttpService.registerServlet(java.lang.String, javax.servlet.Servlet, java.util.Dictionary, org.osgi.service.http.HttpContext) except that it expects a non-null HttpContext object.

Throws:
org.osgi.service.http.NamespaceException
javax.servlet.ServletException

registerResources

public void registerResources(String alias,
                              String name,
                              org.osgi.service.http.HttpContext httpContext)
                       throws org.osgi.service.http.NamespaceException
Throws:
org.osgi.service.http.NamespaceException

unregister

public void unregister(String alias,
                       boolean callDestroy)


Copyright © 2012 GlassFish Community. All Rights Reserved.