org.springframework.extensions.surf.resource.support
Class URLResourceLoaderFactory

java.lang.Object
  extended by org.springframework.extensions.surf.support.BaseFactory
      extended by org.springframework.extensions.surf.resource.AbstractResourceLoaderFactory
          extended by org.springframework.extensions.surf.resource.AbstractCachingResourceLoaderFactory
              extended by org.springframework.extensions.surf.resource.support.URLResourceLoaderFactory
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, ResourceLoaderFactory

public class URLResourceLoaderFactory
extends AbstractCachingResourceLoaderFactory

Resource loader factory for general http urls.

Author:
muzquiano

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.resource.AbstractResourceLoaderFactory
order
 
Constructor Summary
URLResourceLoaderFactory()
           
 
Method Summary
 ResourceLoader buildResourceLoader(String protocolId, String endpointId)
           
 String[] getSupportedProtocols()
          Gets the supported protocols.
 
Methods inherited from class org.springframework.extensions.surf.resource.AbstractCachingResourceLoaderFactory
getResourceLoader, setCacheTimeout
 
Methods inherited from class org.springframework.extensions.surf.resource.AbstractResourceLoaderFactory
canHandle, getOrder, setOrder
 
Methods inherited from class org.springframework.extensions.surf.support.BaseFactory
getApplicationContext, getResourceService, getServiceRegistry, getWebFrameworkConfiguration, getWebFrameworkManager, setApplicationContext, setServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLResourceLoaderFactory

public URLResourceLoaderFactory()
Method Detail

buildResourceLoader

public ResourceLoader buildResourceLoader(String protocolId,
                                          String endpointId)
Specified by:
buildResourceLoader in class AbstractCachingResourceLoaderFactory

getSupportedProtocols

public String[] getSupportedProtocols()
Description copied from class: AbstractResourceLoaderFactory
Gets the supported protocols.

Specified by:
getSupportedProtocols in class AbstractResourceLoaderFactory
Returns:
the supported protocols


Copyright © 2009 SpringSource, Inc. All Rights Reserved.