Retrieves the Hypertext Transfer Protocol (HTTP) user-agent header string.
public String getUserAgent()
Returns a the user-agent header string (for example, "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95").