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
Fields Modifier and Type Field Description static String
PORTAL_NAME_PARAM
-
Constructor Summary
Constructors Constructor Description PortalResource(PortalRuntime runtime, String resourceName, String libraryName, String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
String
getPortalContext()
String
getRequestPath()
-
Methods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
-
-
-
-
Field Detail
-
PORTAL_NAME_PARAM
public static final String PORTAL_NAME_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PortalResource
public PortalResource(PortalRuntime runtime, String resourceName, String libraryName, String contentType)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classjavax.faces.application.Resource
- Throws:
IOException
-
getPortalContext
public String getPortalContext()
- Returns:
- the portalContext
-
getRequestPath
public String getRequestPath()
- Overrides:
getRequestPath
in classorg.omnifaces.resourcehandler.DynamicResource
-
-