Actions and Types
Action and Types
Element Type |
Command Type |
Command |
Value Type |
Remarks |
---|---|---|---|---|
IPGroup |
Match |
== |
String |
Returns true if the parameter equals to the value. |
!= |
String |
Returns true if the parameter not equals to the value. |
||
contains |
String |
Returns true if the string given is found in the parameter value. |
||
!contains |
String |
Returns true if the string given is not found in the parameter value. |
||
Call-Parameter |
Match |
== |
String |
Returns true if the parameter equals to the value. |
!= |
String |
Returns true if the parameter not equals to the value. |
||
contains |
String |
Returns true if the string given is found in the parameter value. |
||
!contains |
String |
Returns true if the string given is not found in the parameter value. |
||
Body |
Match |
== |
String |
Returns true if the body’s content equals to the value. |
!= |
String |
Returns true if the body’s content not equals to the value. |
||
contains |
String |
Returns true if the string given is found in the body’s content. |
||
!contains |
String |
Returns true if the string given is not found in the body’s content. |
||
exists |
|
Returns true if this body type exists in the message. |
||
!exists |
|
Returns true if this body type does not exist in the message. |
||
Action |
Modify |
String |
Modifies the body content to the new value. |
|
Add |
String |
Adds a new body to the message. If such body exists the body content will be modified. |
||
Remove |
|
Removes the body type from the message. |
||
Header-List |
Match |
== |
String *Header-list |
Returns true if the header’s list equals to the string. |
!= |
String *Header-list |
Returns true if the header’s list not equals to the string. |
||
contains |
String |
Returns true if the header’s list contains the string. |
||
!contains |
String |
Returns true if the header’s list does not contain the string. |
||
exists |
|
Returns true if at least one header exists in the list. |
||
!exists |
|
Returns true if no headers exist in the list. |
||
Action |
Modify |
String *Header |
Removes all the headers from the list and allocates a new header with the given value. |
|
Add |
String *Header |
Adds a new header to the end of the list. |
||
Remove |
|
Removes the whole list from the message. |
||
Header |
Match |
== |
String *Header |
Returns true if a header equals to the value. The header element must not be a list. |
!= |
String *Header |
Returns true if a header not equals to the value. The header element must not be a list. |
||
contains |
String |
Returns true if the header contains the string. |
||
!contains |
String |
Returns true if the header does not contain the string. |
||
exists |
|
Returns true if the header exists. |
||
!exists |
|
Returns true if the header does not exist. |
||
Action |
Modify |
String *Header |
Replaces the entire header with the new value. |
|
Remove |
|
Removes the header from the message, if the header is part of a list only that header will be removed. |
||
Add |
String *Header |
Adds a new header to the end of the list. |
||
Parameter-List |
Match |
== |
String Parameter-list |
Returns true if the header’s list equals to the string. |
!= |
String Parameter-list |
Returns true if the header’s list not equals to the string. |
||
contains |
String |
Returns true if the header’s list contains the string. |
||
!contains |
String |
Returns true if the header’s list does not contain the string. |
||
exists |
|
Returns true if at least one parameter exists in the list. |
||
!exists |
|
Returns true if the header’s parameter list is empty. |
||
Action |
Modify |
String Parameter-list |
Replaces the current parameters with the new value. |
|
Add |
String Parameter |
Adds a new parameter to the parameter’s list. |
||
Remove |
|
Removes all the unknown parameters from the list. |
||
Parameter |
Match |
== |
String Parameter |
Returns true if the header’s parameter’s value equals to the value. |
!= |
String Parameter |
Returns true if the header’s parameter’s value not equals to the value. |
||
contains |
String |
Returns true if the header’s parameter contains the string. |
||
!contains |
String |
Returns true if the header’s parameter does not contain the string. |
||
exists |
|
Returns true if the header’s parameter exists. |
||
!exists |
|
Returns true if the header’s parameter does not exist. |
||
Action |
Modify |
String Parameter |
Sets the header’s parameter to the value. |
|
Remove |
|
Removes the header’s parameter from the parameter list. |
||
Structure |
Match |
== |
String *Structure |
Returns true if the header’s structure’s value equals to the value. The string given must be able to be parsed to the structure. |
!= |
String *Structure |
Returns true if the header’s structure’s value not equals to the value. The string given must be able to be parsed to the structure. |
||
Action |
Modify |
String *Structure |
Sets the header’s structure to the value. The string given must be able to be parsed to the structure. |
|
Integer |
Match |
== |
Integer |
Returns true if value equals to the integer element |
!= |
Integer |
Returns true if value not equals to the integer element |
||
> |
Integer |
Returns true if value is greater than the value. |
||
>= |
Integer |
Returns true if value is greater than or equals to the value. |
||
< |
Integer |
Returns true if value is less than the value. |
||
<= |
Integer |
Returns true if value is less than or equals to the value. |
||
Action |
Modify |
Integer |
Sets the integer element to the value. A string value must be a representation of an integer. |
|
String |
Match |
== |
String |
Returns true if the string element equals to the value. |
!= |
String |
Returns true if the string element not equals to the value. |
||
contains |
String |
Returns true if the value is found in the string element. |
||
!contains |
String |
Returns true if the value is not found in the string element. |
||
> |
String |
Performs a character by character compare. Returns true if the ASCII value of the character is greater than that in the value |
||
>= |
String |
Performs a character by character compare. Returns true if the ASCII value of the character is greater than or equal to that in the value |
||
< |
String |
Performs a character by character compare. Returns true if the ASCII value of the character is less than that in the value |
||
<= |
String |
Performs a character by character compare. Returns true if the ASCII value of the character is less than or equal to that in the value |
||
Action |
Modify |
String |
Sets the string element to the value. |
|
Add prefix |
String |
Adds the value to the beginning of the string element. |
||
Remove prefix |
String |
Removes the value from the beginning of the string element. |
||
Add suffix |
String |
Adds the value to the end of the string element. |
||
Remove suffix |
String |
Removes the value from the end of the string element. |
||
Boolean |
Match |
== |
Boolean |
Returns true if the Boolean element equals to the value. Boolean – can be either 0 or 1. |
!= |
Boolean |
Returns true if the Boolean element not equals to the value. Boolean – can be either 0 or 1. |
||
> |
Boolean |
Returns true if the Boolean element not equals to the value. Boolean – can be either 0 or 1. |
||
< |
Boolean |
Returns true if the Boolean element not equals to the value. Boolean – can be either 0 or 1. |
||
Action |
Modify |
Boolean |
Sets the Boolean element to the value. Boolean – can be either 0 or 1. |
|
Attribute |
Match |
== |
Integer *Attribute |
Returns true if the attribute element equals to the value. An attribute element value must be of the same type of the attribute element. |
!= |
Integer *Attribute |
Returns true if the attribute element not equals to the value. An attribute element value must be of the same type of the attribute element. |
||
Action |
Modify |
Integer *Attribute |
Sets the attribute element to the value. An attribute element value must be of the same type of the attribute element. |