Using Internet Utility Classes
Other InterSystems %Net Tools
Here is a brief list of some other useful classes in %Net
InterSystems IRIS provides a utility class, %Net.URLParser
, that you can use to parse URL strings into their component parts. This is useful, for example, when you are redirecting an HTTP request.
This class contains one class method, Parse()
, that takes a string containing a URL value and returns, by reference, an array that contains the parts of the URL. For example:
Set url = "https://www.google.com/search?q=Java+site%3Adocs.intersystems.com&oq=Java+site%3Adocs.intersystems.com"
Upon return, components
will contain an array of the parts of this URL:
You can use %Net.Charset
to represent MIME character sets within InterSystems IRIS and map these character sets to InterSystems IRIS locales. This class includes the following class methods:
returns the default character set for the current InterSystems IRIS locale,
returns the name of the InterSystems IRIS translation table for a given input character set.
package provides many classes for authentication and security. For information, see the extensive class documentation.