Just curious, if there is an API that could create absolute URL of the given
page?

Looking at Link interface, there IS a method createAbsoluteURI(), but it
creates only URI, not URL meaningful for outside world. Still this kind of
API would be very useful, for example for RSS feeds, mail notifications and
any other sort of content that is not viewed on the website itself.

I know that it's possible to @Inject HttpServletRequest and obtain all
necessary data from it, but maybe I'm missing some easier way to do that?

-- 
Ilya Obshadko

Reply via email to