use of javax.faces.application.ResourceHandlerWrapper in project liferay-faces-bridge-impl by liferay.
the class ApplicationPrimeFacesHeadImpl method getResourceHandler.
@Override
public ResourceHandler getResourceHandler() {
ResourceHandler resourceHandler = super.getResourceHandler();
// request path, not an encoded resourceURL.
if (resourceHandler instanceof ResourceHandlerOuterImpl) {
ResourceHandlerWrapper resourceHandlerWrapper = (ResourceHandlerOuterImpl) resourceHandler;
resourceHandler = resourceHandlerWrapper.getWrapped();
}
return resourceHandler;
}
Aggregations