org.ops4j.pax.web.service
Interface WebContainerContext

All Superinterfaces:
org.osgi.service.http.HttpContext
All Known Subinterfaces:
SharedWebContainerContext
All Known Implementing Classes:
DefaultSharedWebContainerContext

public interface WebContainerContext
extends org.osgi.service.http.HttpContext

HttpContext extensions.

Since:
0.5.3, March 30, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Method Summary
 java.util.Set<java.lang.String> getResourcePaths(java.lang.String name)
          Returns a set of all the paths (String objects) to entries within the web application whose longest sub-path matches the supplied path argument.
 
Methods inherited from interface org.osgi.service.http.HttpContext
getMimeType, getResource, handleSecurity
 

Method Detail

getResourcePaths

java.util.Set<java.lang.String> getResourcePaths(java.lang.String name)
Returns a set of all the paths (String objects) to entries within the web application whose longest sub-path matches the supplied path argument. A specified path of "/" indicates the root of the web application.

Parameters:
name - the path name for which to return resource paths
Returns:
a set of the resource paths (String objects) or null if no resource paths could be found or if the caller does not have the appropriate permissions.


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