org.mule.cache.responsegenerator
Class DefaultResponseGenerator
java.lang.Object
org.mule.cache.responsegenerator.DefaultResponseGenerator
- All Implemented Interfaces:
- ResponseGenerator
public class DefaultResponseGenerator
- extends Object
- implements ResponseGenerator
Implements ResponseGenerator
creating a new MuleEvent
for each request.
Method Summary |
MuleEvent |
create(MuleEvent requestedEvent,
MuleEvent cachedResponseEvent)
Generates a response event from a request and a cached response for the
request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResponseGenerator
public DefaultResponseGenerator()
create
public MuleEvent create(MuleEvent requestedEvent,
MuleEvent cachedResponseEvent)
- Description copied from interface:
ResponseGenerator
- Generates a response event from a request and a cached response for the
request.
- Specified by:
create
in interface ResponseGenerator
- Parameters:
requestedEvent
- the request eventcachedResponseEvent
- the cached response for the request
- Returns:
- a response event generated form the passed information. Could
be null.
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.