use of org.apache.camel.component.http.handler.BasicValidationHandler in project camel by apache.
the class CamelComponentVerifierTest method setUp.
@Before
@Override
public void setUp() throws Exception {
localServer = new Server(PORT);
localServer.setHandler(handlers(contextHandler("/basic", new BasicValidationHandler("GET", null, null, getExpectedContent()))));
localServer.start();
super.setUp();
}
use of org.apache.camel.component.http.handler.BasicValidationHandler in project camel by apache.
the class HttpBridgeEndpointTest method setUp.
@Before
@Override
public void setUp() throws Exception {
localServer = new Server(PORT);
localServer.setHandler(handlers(contextHandler("/", new BasicValidationHandler("GET", null, null, getExpectedContent())), contextHandler("/query", new BasicRawQueryValidationHandler("GET", "x=%3B", null, getExpectedContent()))));
localServer.start();
super.setUp();
}
Aggregations