public class PortalWebResourcesUtil
extends Object
Constructor and Description |
---|
PortalWebResourcesUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getContextPath(String resourceType) |
static long |
getLastModified(String resourceType) |
static String |
getModuleContextPath(String resourceType) |
static long |
getPathLastModified(String requestURI,
long defaultValue) |
static String |
getPathResourceType(String path) |
static javax.servlet.ServletContext |
getPathServletContext(String path) |
static PortalWebResources |
getPortalWebResources(String resourceType) |
static URL |
getResource(javax.servlet.ServletContext servletContext,
String path) |
static URL |
getResource(String path) |
static javax.servlet.ServletContext |
getServletContext(String resourceType) |
static boolean |
hasContextPath(String requestURI) |
static boolean |
isAvailable(String path) |
static String |
stripContextPath(javax.servlet.ServletContext servletContext,
String path) |
public static String getContextPath(String resourceType)
public static long getLastModified(String resourceType)
public static String getModuleContextPath(String resourceType)
public static long getPathLastModified(String requestURI, long defaultValue)
public static String getPathResourceType(String path)
public static javax.servlet.ServletContext getPathServletContext(String path)
public static PortalWebResources getPortalWebResources(String resourceType)
public static URL getResource(javax.servlet.ServletContext servletContext, String path)
public static URL getResource(String path)
public static javax.servlet.ServletContext getServletContext(String resourceType)
public static boolean hasContextPath(String requestURI)
public static boolean isAvailable(String path)
public static String stripContextPath(javax.servlet.ServletContext servletContext, String path)