use of org.apache.camel.http.common.HttpHeaderFilterStrategy in project camel by apache.
the class BaseJettyTest method allowNullHeaders.
protected void allowNullHeaders() {
JettyHttpComponent jetty = (JettyHttpComponent) context.getComponent("jetty");
HttpHeaderFilterStrategy filterStrat = new HttpHeaderFilterStrategy();
filterStrat.setAllowNullValues(true);
jetty.setHeaderFilterStrategy(filterStrat);
}
use of org.apache.camel.http.common.HttpHeaderFilterStrategy in project camel by apache.
the class HttpHeaderFilterStrategyTest method setUp.
@Before
public void setUp() {
filter = new HttpHeaderFilterStrategy();
exchange = new DefaultExchange(new DefaultCamelContext());
}
use of org.apache.camel.http.common.HttpHeaderFilterStrategy in project camel by apache.
the class HttpHeaderFilterStrategyTest method setUp.
@Before
public void setUp() {
filter = new HttpHeaderFilterStrategy();
exchange = new DefaultExchange(new DefaultCamelContext());
}
Aggregations