Creating an XML Application
G-84
41-001160-01, Rev 00, Release 2.3
IP Phone Administrator Guide
HTTP Refresh Header
You can use an HTTP refresh header with the XML screen objects on the IP
phones. This feature provides the following:
•
All current XML screen objects have the ability to be refreshed by adding a
Refresh
and
URL
setting to the HTTP headers. (see Refresh setting format
below)
•
The Refresh setting is set by the XML application and it is up to the
application to decide which objects it wants to refresh.
The Refresh setting must be included in the HTTP header. The XML application
decides which objects it wants to use with this setting. The phone recognizes this
setting when parsing the HTTP header. If the setting is present, then it passes
along the refresh timeout and the URL to the ParserData object, which all XML
screen objects inherit from. The ParserData class also has a timer, which must be
set to expire at the next refresh time. When the timer expires (time to refresh the
screen), the phone requests the URL again and displays the refreshed screen.
Refresh Setting Format
The following is the Refresh setting format for the HTTP header:
Refresh: <timeout>; URL=<page to load>
The following example is a Refresh setting for use in an HTTP header:
Refresh: 3; URL=http://10.50.10.140/cgi-bin/update.xml
Note:
This HTTP refresh header feature only applies to objects that
display to the screen.
Note:
You must use the
Refresh
and
URL
parameters in order for this
feature to work in the HTTP header.
Summary of Contents for 5i Series
Page 4: ......
Page 26: ......
Page 30: ......
Page 70: ......
Page 179: ...Administrator Level Options 41 001160 01 Rev 00 Releaes 2 3 3 91 Administrator Options...
Page 180: ......
Page 644: ...Operational Features 5 352 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Page 712: ......
Page 976: ......
Page 980: ......
Page 1014: ...Sample Configuration Files D 34 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Page 1016: ...Sample Configuration Files D 36 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Page 1022: ......
Page 1026: ......
Page 1030: ......
Page 1133: ......