Attributes List

Attributes are parameters that can be used with the ServletRequest.get/setAttribute() methods to view and alter the connection information.

Attribute

Description

args

Any arguments passed to the Servlet from TrafficScript

avoidnodes

Space separated list of nodes to avoid with the load balancing

bandwidth

Get/set the bandwidth class to use

cache

Set to 0 for http.cache.disable(), 1 for http.cache.enable()

cachekey

Set the cache key.

compress

Set to 0 for http.compress.disable(), 1 for 'default' and 2 for http.compress.enable() .

dstip

Destination IP address (i.e. the address on the traffic manager).

dstport

Destination port (i.e. the port on the traffic manager) .

idempotent

Get/set whether this request is idempotent - 0/1 for no/yes

node

Node used by this connection - readable by a response rule only.

persistence

Get/set the persistence class to use .

persistencekey

Set the persistence data to use for universal session persistence

persistencenode

Set the node to persist on

pool

Get/set the pool to use

proxy

Set the machine to forward proxy on to. This should be set to IP:Port (i.e. the servlet does any DNS lookup)

resendable

Read-only: is the request is resendable to another node. Valid in response rules only. Returns 0/1

retries

Read the number of retries - request.getRetries()

rule

The name of the TrafficScript rule that called this extension.

serverbandwidth

Get/set the bandwidth class to use for server-side data

serverdstip

The IP address the server (node) sent to.

serverdstport

The port the server (node) sent to.

serversrcip

The IP address of the server (node).

serversrcport

The server's (node's) source port.

servertos

IP Type-Of-Service flag to use for the server connection - takes same args as request.getToS()

servicelevel

Get/set the SLM class to use

srcip

Client's IP address

srcport

Client's source port

tos

IP Type-Of-Service flag to use for the client connection

virtualserver

Read the virtual server name