class RouterProcessor extends ProcessorBase {

    @Override
    public void process(final WilmaHttpEntity entity) throws ApplicationException {
        WilmaHttpRequest request = (WilmaHttpRequest) entity;
        boolean bypassWilma = isByPassPresentInHeader(request.getHeaders());
        if (!bypassWilma && !request.isRerouted()) {
            router.reroute(request);
        }
    }

}