Instead of presenting information to a user when that user visits a particular URL, we may instead choose to redirect that user to another URL, at which there may be information to be viewed. To redirect a user of an application, we can use the following transaction method:
WebStack provides the following method in transaction objects to perform redirection:
redirect
Since the path value must be usable in response header, it is necessary to transform paths as described in the "Encoding and Decoding Path Values" document, and an example of redirection is given in that document.