org.ops4j.pax.web.service.internal
Class DefaultSharedWebContainerContext

java.lang.Object
  extended by org.ops4j.pax.web.service.internal.DefaultSharedWebContainerContext
All Implemented Interfaces:
SharedWebContainerContext, WebContainerContext, org.osgi.service.http.HttpContext

public class DefaultSharedWebContainerContext
extends Object
implements SharedWebContainerContext


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
DefaultSharedWebContainerContext()
           
 
Method Summary
 boolean deregisterBundle(org.osgi.framework.Bundle bundle)
           
 String getMimeType(String arg0)
           
 URL getResource(String path)
           
 Set<String> getResourcePaths(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
 

Constructor Detail

DefaultSharedWebContainerContext

public DefaultSharedWebContainerContext()
Method Detail

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 Set<String> getResourcePaths(String path)
Specified by:
getResourcePaths in interface WebContainerContext

getMimeType

public String getMimeType(String arg0)
Specified by:
getMimeType in interface org.osgi.service.http.HttpContext

getResource

public URL getResource(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 IOException
Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext
Throws:
IOException


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.