public static String getDomainUrl ( final boolean ssl , final boolean withServerPort , final boolean withSlashAtTheEnd ) { return newDomainUrl ( ssl ? Scheme . HTTPS . urlName ( ) : Scheme . HTTP . urlName ( ) , WicketUrlExtensions . getServerName ( ) , WicketComponentExtensions . getHttpServletRequest ( ) . getServerPort ( ) , withServerPort , withSlashAtTheEnd ) ; }
Gets the domain url .