Class CDN
java.lang.Object
org.ocpsoft.rewrite.servlet.config.rule.CDN
- All Implemented Interfaces:
Condition,Operation,Rule,Parameterized,CDNRelocate
A
Rule that creates a bi-directional relationship between an externally facing Address and an
internal server resource Address for the purposes of using a Content Distribution Network.- Author:
- Lincoln Baxter, III
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(Rewrite event, EvaluationContext context) getId()voidperform(Rewrite event, EvaluationContext context) static CDNRelocatevoidSet the id of thisRulevoidsetParameterStore(ParameterStore store) The new resourceAddressto serve as an externalSubstitutefor the configured internal resourcePath.toString()
-
Constructor Details
-
CDN
-
-
Method Details
-
relocate
-
to
Description copied from interface:CDNRelocateThe new resourceAddressto serve as an externalSubstitutefor the configured internal resourcePath. SeeSubstitutefor additional configuration details.- Specified by:
toin interfaceCDNRelocate
-
evaluate
-
perform
-
getId
-
setId
Set the id of thisRule -
toString
-
getLocationExpression
-
getResourcExpression
-
getRequiredParameterNames
- Specified by:
getRequiredParameterNamesin interfaceParameterized
-
setParameterStore
- Specified by:
setParameterStorein interfaceParameterized
-