Hi,

I did try overriding the #mapHandler() method and have a condition to check
for a specific type of 'IRequestHandler', and call "#encryptEntireUrl()"
method, this does work.

  @Override
  public Url mapHandler(final IRequestHandler requestHandler)
  {
     Url myUrl = super.mapHandler(aRequestHandler);
     if (requestHandler instanceof MyResourceRequestHandler)
     {
        return encryptEntireUrl(myUrl);
     }
     return myUrl;
  }

Is it the suggested way ?

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249p4672256.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to