This class can be used to expand or shorten URLs using the bit.ly site. It can send HTTP requests to the bit.ly site to create a new short URL that redirects to a given longer URL. The class can also do the opposite, i.e. send a request to retrieve the original URL that is redirected when accessing a given bit.ly short URL.