public static < C extends Page > String absoluteUrlFor ( final Class < C > page , final boolean withServerPort ) { return absoluteUrlFor ( page , null , withServerPort ) ; }
Returns the absolute url for the given page and optionally with the server port .