Hi,

Yes. I think it is.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 16, 2015 at 6:12 AM, Rakesh A <[email protected]>
wrote:

> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to