public interface IBufferedPartFactory extends IPartFactory
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeKey(String rurl,
IExtendedParameterInfo param)
Decode the input and create a KEY for the request.
|
void |
generate(PartResponse pr,
DomApplication da,
Object key,
IResourceDependencyList rdl)
This must generate the output for the resource.
|
@Nonnull Object decodeKey(@Nonnull String rurl, @Nonnull IExtendedParameterInfo param) throws Exception
ctx - rurl - Exceptionvoid generate(@Nonnull PartResponse pr, @Nonnull DomApplication da, @Nonnull Object key, @Nonnull IResourceDependencyList rdl) throws Exception
os - The stream to write the data to.da - The Application on behalf of which this resource is generated.key - The key, as specified by decodeKey.rdl - When running in development mode, each file resource used should be added
to this list. The buffer code will use that list to check whether a source
for this thing has changed; if so it will be re-generated. This causes runtime
editability for parameter files of any buffered thingydoo.ExceptionCopyright © 2017 etc.to. All rights reserved.