org.glassfish.osgihttp
Class GlassFishHttpService
java.lang.Object
org.glassfish.osgihttp.GlassFishHttpService
public class GlassFishHttpService
- extends Object
This contains most of the implementation of HttpService.
- Author:
- Sanjeeb.Sahoo@Sun.COM
|
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 |
GlassFishHttpService
public GlassFishHttpService(com.sun.enterprise.web.WebModule context)
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.