Search in sources :

Example 1 with BasicRawQueryValidationHandler

use of org.apache.camel.component.http.handler.BasicRawQueryValidationHandler 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();
}
Also used : Server(org.eclipse.jetty.server.Server) BasicValidationHandler(org.apache.camel.component.http.handler.BasicValidationHandler) BasicRawQueryValidationHandler(org.apache.camel.component.http.handler.BasicRawQueryValidationHandler) Before(org.junit.Before)

Aggregations

BasicRawQueryValidationHandler (org.apache.camel.component.http.handler.BasicRawQueryValidationHandler)1 BasicValidationHandler (org.apache.camel.component.http.handler.BasicValidationHandler)1 Server (org.eclipse.jetty.server.Server)1 Before (org.junit.Before)1