public static interface ERXResponseRewriter.Delegate
Modifier and Type | Method and Description |
---|---|
boolean |
responseRewriterShouldAddResource(String framework,
String fileName)
Called prior to adding resources at all.
|
ERXResponseRewriter.Resource |
responseRewriterWillAddResource(String framework,
String fileName)
Provides the ability to override the requested framework and fileName
with a custom alternative.
|
boolean responseRewriterShouldAddResource(String framework, String fileName)
framework
- the requested framework of the addition (can be null
)fileName
- the requested fileName of the addition (can be a URL,
absolute path, or relative resource path)true
if the resource should be addedERXResponseRewriter.Resource responseRewriterWillAddResource(String framework, String fileName)
framework
- the requested framework of the addition (can be null
)fileName
- the requested fileName of the addition (can be a URL,
absolute path, or relative resource path)null
to use the requested
resourceCopyright © 2002 – 2024 Project Wonder.