def getResourceTypes(self):
url = "<STR_LIT>".format(url_base=self.url_base)<EOL>r = self._request('<STR_LIT:GET>', url)<EOL>if r.status_code != <NUM_LIT:200>:<EOL><INDENT>raise HydroShareHTTPException((url, '<STR_LIT:GET>', r.status_code))<EOL><DEDENT>resource_types = r.json()<EOL>return set([t['<STR_LIT>'] for t in resource_types])<EOL>
Get the list of resource types supported by the HydroShare server

        :return: A set of strings representing the HydroShare resource types

        :raises: HydroShareHTTPException to signal an HTTP error