IRequestCycleProcessor в Apache калитке 6.X и 7.x

Я использую калитку 1.4.9. Теперь я перехожу на более новую версию 7 или 6. Как использовать приведенный ниже код в 6.6.0

protected IRequestCycleProcessor newRequestCycleProcessor() {
        return new WebRequestCycleProcessor() {
            protected IRequestCodingStrategy newRequestCodingStrategy() {
                return new CryptedUrlWebRequestCodingStrategy(super.newRequestCodingStrategy());
            }
        };
    }

2 ответа

Решение

Я использую Wicket 7 Попробуйте это в своем приложении;

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(),this));

Вам нужен CryptoMapper.

Для его настройки добавьте следующее в метод YourApplication#init():

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));
Другие вопросы по тегам