Save This Page
Home » org.apache.sling.launchpad.base-2.2.0-source-release » org.apache.sling.launchpad.base.impl » [javadoc | source]
org.apache.sling.launchpad.base.impl
public class: ContextProtocolHandler [javadoc | source]
java.lang.Object
   org.osgi.service.url.AbstractURLStreamHandlerService
      org.apache.sling.launchpad.base.impl.ContextProtocolHandler
The ContextProtocolHandler is a simple extension of the OSGi provided AbstractURLStreamHandlerService which simply returns an instance of the ContextConnection when trying to open the connection of the URL.
Constructor:
 public ContextProtocolHandler(ResourceProvider resourceProvider) 
    Creates an instance of this protocol handler setting the servlet context which is queried to access content.
    Parameters:
    resourceProvider - The ResourceProvider to which requests for content access are delegated.
Method from org.apache.sling.launchpad.base.impl.ContextProtocolHandler Summary:
openConnection
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.sling.launchpad.base.impl.ContextProtocolHandler Detail:
 public URLConnection openConnection(URL url)