blob: d066a708e7f3e928a9d2d4c41954d3e388ef2ca0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.http;
import com.yahoo.component.chain.model.ChainedComponentModel;
import com.yahoo.vespa.model.container.component.chain.ChainedComponent;
/**
* @author Tony Vaagenes
* @author gjoranv
*/
public class Filter extends ChainedComponent<ChainedComponentModel> {
public Filter(ChainedComponentModel model) {
super(model);
}
public FilterConfigProvider addAndInjectConfigProvider() {
FilterConfigProvider filterConfigProvider = new FilterConfigProvider(model);
addComponent(filterConfigProvider);
inject(filterConfigProvider);
return filterConfigProvider;
}
}
|