Class PortalWebResourcesUtil

Object
com.liferay.portal.kernel.servlet.PortalWebResourcesUtil

public class PortalWebResourcesUtil extends Object
Author:
Peter Fellwock
  • Constructor Details

    • PortalWebResourcesUtil

      public PortalWebResourcesUtil()
  • Method Details

    • getContextPath

      public static String getContextPath(String resourceType)
    • getLastModified

      public static long getLastModified(String resourceType)
    • getModuleContextPath

      public static String getModuleContextPath(String resourceType)
    • getPathLastModified

      public static long getPathLastModified(String requestURI, long defaultValue)
    • getPathResourceType

      public static String getPathResourceType(String path)
    • getPathServletContext

      public static javax.servlet.ServletContext getPathServletContext(String path)
    • getPortalWebResources

      public static PortalWebResources getPortalWebResources(String resourceType)
    • getResource

      public static URL getResource(javax.servlet.ServletContext servletContext, String path)
    • getResource

      public static URL getResource(String path)
    • getServletContext

      public static javax.servlet.ServletContext getServletContext(String resourceType)
    • hasContextPath

      public static boolean hasContextPath(String requestURI)
    • isAvailable

      public static boolean isAvailable(String path)
    • stripContextPath

      public static String stripContextPath(javax.servlet.ServletContext servletContext, String path)