com.liferay.faces.bridge.application.internal
Class ResourceHandlerInnerImpl
java.lang.Object
javax.faces.application.ResourceHandler
javax.faces.application.ResourceHandlerWrapper
com.liferay.faces.util.application.ResourceHandlerWrapperBase
com.liferay.faces.bridge.application.internal.ResourceHandlerBridgeImpl
com.liferay.faces.bridge.application.internal.ResourceHandlerInnerImpl
- All Implemented Interfaces:
- javax.faces.FacesWrapper<javax.faces.application.ResourceHandler>
public class ResourceHandlerInnerImpl
- extends ResourceHandlerBridgeImpl
Unlike the ResourceHandlerOuterImpl class, this class is designed to be the innermost ResourceHandler
in the chain-of-responsibility (only the Mojarra/MyFaces ResourceHandlerImpl has a more inner status). In order to
achive this innermost status, it is registered in the application section of the bridge's faces-config.xml
descriptor. It is responsible for wrapping resources created by Mojarra/MyFaces so that resource URLs will work in a
portlet environment. It is also responsible for serving up resources via the handleResourceRequest(FacesContext) method.
- Author:
- Neil Griffin
| Fields inherited from class javax.faces.application.ResourceHandler |
LOCALE_PREFIX, RESOURCE_EXCLUDES_DEFAULT_VALUE, RESOURCE_EXCLUDES_PARAM_NAME, RESOURCE_IDENTIFIER |
| Methods inherited from class javax.faces.application.ResourceHandlerWrapper |
getRendererTypeForResourceName, libraryExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceHandlerInnerImpl
public ResourceHandlerInnerImpl(javax.faces.application.ResourceHandler resourceHandler)
handleResourceRequest
public void handleResourceRequest(javax.faces.context.FacesContext facesContext)
throws IOException
- Description copied from class:
ResourceHandlerBridgeImpl
- This method handles the current request which is assumed to be a request for a
Resource.
- Overrides:
handleResourceRequest in class ResourceHandlerBridgeImpl
- Throws:
IOException
getResourceOutputStream
protected ResourceOutputStream getResourceOutputStream(javax.faces.application.Resource resource,
int size)
- Overrides:
getResourceOutputStream in class ResourceHandlerWrapperBase
Copyright © 2015 Liferay, Inc.. All rights reserved.