Class PortalWebResourcesUtil
Object
com.liferay.portal.kernel.servlet.PortalWebResourcesUtil
- Author:
- Peter Fellwock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
(String path) static URL
getResource
(javax.servlet.ServletContext servletContext, 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)
-
Constructor Details
-
PortalWebResourcesUtil
public PortalWebResourcesUtil()
-
-
Method Details
-
getContextPath
-
getLastModified
-
getModuleContextPath
-
getPathLastModified
-
getPathResourceType
-
getPathServletContext
-
getPortalWebResources
-
getResource
-
getResource
-
getServletContext
-
hasContextPath
-
isAvailable
-
stripContextPath
-