public final class DefaultMultiBundleWebContainerContext extends Object implements org.ops4j.pax.web.service.MultiBundleWebContainerContext
MultiBundleWebContainerContext. Its identity consists only
of the context's name.| Constructor and Description |
|---|
DefaultMultiBundleWebContainerContext(DefaultHttpContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deregisterBundle(org.osgi.framework.Bundle bundle) |
boolean |
equals(Object o) |
void |
finishSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.osgi.framework.Bundle |
getBundle() |
String |
getContextId() |
String |
getMimeType(String name) |
URL |
getResource(String name) |
Set<String> |
getResourcePaths(String name)
Search resource paths within all the bundles sharing this context.
|
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
int |
hashCode() |
boolean |
isShared() |
boolean |
registerBundle(org.osgi.framework.Bundle bundle) |
String |
toString() |
public DefaultMultiBundleWebContainerContext(DefaultHttpContext delegate)
public boolean isShared()
isShared in interface org.ops4j.pax.web.service.MultiBundleWebContainerContextisShared in interface org.ops4j.pax.web.service.WebContainerContextpublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.ops4j.pax.web.service.WebContainerContextpublic boolean handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
handleSecurity in interface org.osgi.service.http.HttpContextIOExceptionpublic void finishSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
finishSecurity in interface org.ops4j.pax.web.service.WebContainerContextpublic URL getResource(String name)
getResource in interface org.osgi.service.http.HttpContextpublic String getMimeType(String name)
getMimeType in interface org.osgi.service.http.HttpContextpublic Set<String> getResourcePaths(String name)
Search resource paths within all the bundles sharing this context.
getResourcePaths in interface org.ops4j.pax.web.service.WebContainerContextpublic String getContextId()
getContextId in interface org.ops4j.pax.web.service.WebContainerContextpublic boolean registerBundle(org.osgi.framework.Bundle bundle)
registerBundle in interface org.ops4j.pax.web.service.MultiBundleWebContainerContextpublic boolean deregisterBundle(org.osgi.framework.Bundle bundle)
deregisterBundle in interface org.ops4j.pax.web.service.MultiBundleWebContainerContextCopyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.