RewriteContext

RewriteContext Class The `Context` class used to pass context in Rewrite Script.

Constructor

new RewriteContext()

Members

isEnableOnRequest

Determines whether the onRequest event is enabled.
Properties
NameTypeDescription
getterbooleanTrue if the onRequest event is enabled, false otherwise.

isEnableOnResponse

Determines whether the onResponse event is enabled.
Properties
NameTypeDescription
getterbooleanTrue if the onResponse event is enabled, false otherwise.

parameters

Gets or sets the parameters dictionary object in the onResponse event.
Properties
NameTypeDescription
getterobjectGets the parameters dictionary object in the onResponse event.
setterobjectSets the parameters dictionary object in the onResponse event.

scriptName

Gets the name of the script.
Properties
NameTypeDescription
getterstringGets the name of the script.