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 = "http://www.intersys.com/main.csp?QUERY=abc#anchor"
Upon return, components
will contain an array of the parts of this URL:
||The transport scheme specified by this URL.
||The network address of the URL.
||The file path of the URL.
||The query string associated with the URL.
||The fragment (following the # character) for the 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 provides the following class methods:
package provides many classes for authentication and security. For information, see the extensive class documentation.