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 StringPORTAL_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 InputStreamgetInputStream()StringgetPortalContext()StringgetRequestPath()PortalRuntimegetRuntime()- 
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:
 getInputStreamin classjavax.faces.application.Resource- Throws:
 IOException
 
- 
getRuntime
public PortalRuntime getRuntime()
- Returns:
 - The runtime of the portal plugin that provides this resource.
 
 
- 
getPortalContext
public String getPortalContext()
- Returns:
 - the portalContext
 
 
- 
getRequestPath
public String getRequestPath()
- Overrides:
 getRequestPathin classorg.omnifaces.resourcehandler.DynamicResource
 
 - 
 
 -