Package de.xima.fc.portal.model
Class PortalResource
java.lang.Object
javax.faces.application.ViewResource
javax.faces.application.Resource
org.omnifaces.resourcehandler.DynamicResource
de.xima.fc.portal.model.PortalResource
public class PortalResource
extends org.omnifaces.resourcehandler.DynamicResource
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsFields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionPortalResource
(PortalRuntime runtime, String resourceName, String libraryName, String contentType) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
Methods inherited from class javax.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
-
Field Details
-
PORTAL_NAME_PARAM
- See Also:
-
-
Constructor Details
-
PortalResource
public PortalResource(PortalRuntime runtime, String resourceName, String libraryName, String contentType)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in classjavax.faces.application.Resource
- Throws:
IOException
-
getRuntime
- Returns:
- The runtime of the portal plugin that provides this resource.
-
getPortalContext
- Returns:
- the portalContext
-
getRequestPath
- Overrides:
getRequestPath
in classorg.omnifaces.resourcehandler.DynamicResource
-