public static Url getPageUrl(final Class<? extends Page> pageClass,
		final PageParameters parameters)
	{
		final String url = RequestCycle.get().urlFor(pageClass, parameters).toString();
		return Url.parse(url);
	}
public static Url getPageUrl ( final Class < ? extends Page > pageClass , final PageParameters parameters ) { final String url = RequestCycle . get ( ) . urlFor ( pageClass , parameters ) . toString ( ) ; return Url . parse ( url ) ; }
Gets the page url.

@param pageClass
the page class
@param parameters
the parameters
@return the page url