org.ops4j.pax.web.service.internal
Class DefaultSharedWebContainerContext
java.lang.Object
org.ops4j.pax.web.service.internal.DefaultSharedWebContainerContext
- All Implemented Interfaces:
- SharedWebContainerContext, WebContainerContext, org.osgi.service.http.HttpContext
public class DefaultSharedWebContainerContext
- extends java.lang.Object
- implements SharedWebContainerContext
| Fields inherited from interface org.osgi.service.http.HttpContext |
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER |
|
Method Summary |
boolean |
deregisterBundle(org.osgi.framework.Bundle bundle)
|
java.lang.String |
getMimeType(java.lang.String arg0)
|
java.net.URL |
getResource(java.lang.String path)
|
java.util.Set<java.lang.String> |
getResourcePaths(java.lang.String path)
|
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1)
|
boolean |
registerBundle(org.osgi.framework.Bundle bundle)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSharedWebContainerContext
public DefaultSharedWebContainerContext()
registerBundle
public boolean registerBundle(org.osgi.framework.Bundle bundle)
- Specified by:
registerBundle in interface SharedWebContainerContext
deregisterBundle
public boolean deregisterBundle(org.osgi.framework.Bundle bundle)
- Specified by:
deregisterBundle in interface SharedWebContainerContext
getResourcePaths
public java.util.Set<java.lang.String> getResourcePaths(java.lang.String path)
- Specified by:
getResourcePaths in interface WebContainerContext
getMimeType
public java.lang.String getMimeType(java.lang.String arg0)
- Specified by:
getMimeType in interface org.osgi.service.http.HttpContext
getResource
public java.net.URL getResource(java.lang.String path)
- Specified by:
getResource in interface org.osgi.service.http.HttpContext
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1)
throws java.io.IOException
- Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext
- Throws:
java.io.IOException
Copyright © 2006-2010 OPS4J - Open Participation Software for Java. All Rights Reserved.