This HttpContext is is a very useful creature, look at this one:
HttpContext.Current.Request.Url.AbsolutePath
For example you might want to change a CSS class of a control at runtime depend to url, you could specify this code in the master page and observe the url in the PageLoad for say.