public class OmniVersionResourceHandler extends DefaultResourceHandler
omnifaces
.RES_NOT_FOUND
LOCALE_PREFIX, RESOURCE_CONTRACT_XML, RESOURCE_EXCLUDES_DEFAULT_VALUE, RESOURCE_EXCLUDES_PARAM_NAME, RESOURCE_IDENTIFIER, WEBAPP_CONTRACTS_DIRECTORY_PARAM_NAME, WEBAPP_RESOURCES_DIRECTORY_PARAM_NAME
Constructor and Description |
---|
OmniVersionResourceHandler(ResourceHandler wrapped) |
Modifier and Type | Method and Description |
---|---|
Resource |
decorateResource(Resource resource)
Decorate the given resource.
|
createResource, createResource, createResource, createResourceFromLibrary, decorateResource, getLibraryName, getWrapped
createResourceFromId, createViewResource, getRendererTypeForResourceName, handleResourceRequest, isResourceRequest, isResourceURL, libraryExists
public OmniVersionResourceHandler(ResourceHandler wrapped)
public Resource decorateResource(Resource resource)
DefaultResourceHandler
The default implementation just returns the given resource unmodified.
decorateResource
in class DefaultResourceHandler
resource
- The resource to be decorated.Copyright © 2012–2017 OmniFaces. All rights reserved.