use of org.apache.knox.gateway.filter.rewrite.ext.UrlRewriteMatchProcessorExt in project knox by apache.
the class UrlRewriteRuleProcessorImpl method initialize.
@Override
public void initialize(UrlRewriteEnvironment environment, UrlRewriteRuleDescriptor descriptor) throws Exception {
UrlRewriteMatchDescriptor matchDescriptor = new UrlRewriteMatchDescriptorExt();
matchDescriptor.operation("matches");
matchDescriptor.flow(descriptor.flow());
matchDescriptor.template(descriptor.template());
matchProcessor = new UrlRewriteMatchProcessorExt();
matchProcessor.initialize(environment, matchDescriptor);
}
Aggregations