ro.isdc.wro.cache.factory
Class CacheKeyFactoryDecorator

java.lang.Object
  extended by ro.isdc.wro.util.AbstractDecorator<CacheKeyFactory>
      extended by ro.isdc.wro.cache.factory.CacheKeyFactoryDecorator
All Implemented Interfaces:
CacheKeyFactory, ObjectDecorator<CacheKeyFactory>

public class CacheKeyFactoryDecorator
extends AbstractDecorator<CacheKeyFactory>
implements CacheKeyFactory

Decorator for CacheKeyFactory object.

Since:
1.6.0
Author:
Alex Objelean

Constructor Summary
CacheKeyFactoryDecorator(CacheKeyFactory decorated)
           
 
Method Summary
 CacheKey create(javax.servlet.http.HttpServletRequest request)
          Creates a CacheKey from the provided request.
 
Methods inherited from class ro.isdc.wro.util.AbstractDecorator
getDecoratedObject, getOriginalDecoratedObject, getOriginalDecoratedObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheKeyFactoryDecorator

public CacheKeyFactoryDecorator(CacheKeyFactory decorated)
Method Detail

create

public CacheKey create(javax.servlet.http.HttpServletRequest request)
Creates a CacheKey from the provided request.

Specified by:
create in interface CacheKeyFactory
Parameters:
request - HttpServletRequest object used to build CacheKey from.
Returns:
not null CacheKey object or null if the CacheKey could not be built.


Copyright © 2008-2013. All Rights Reserved.