Class Resource

    • Field Detail

      • COMPONENT_RESOURCE_KEY

        public static final String COMPONENT_RESOURCE_KEY
        This constant is used as the key in the component attribute map of a composite component to associate the component with its Resource instance.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getContentType

        public String getContentType()
      • getLibraryName

        public String getLibraryName()
      • getRequestPath

        public abstract String getRequestPath()
      • getResourceName

        public String getResourceName()
      • getResponseHeaders

        public abstract Map<String,​String> getResponseHeaders()
      • setContentType

        public void setContentType​(String contentType)
      • setLibraryName

        public void setLibraryName​(String libraryName)
      • setResourceName

        public void setResourceName​(String resourceName)
      • userAgentNeedsUpdate

        public abstract boolean userAgentNeedsUpdate​(FacesContext context)