01: package com.sun.portal.wireless.tests;
02:
03: public class Nokia6310i implements Device {
04: private String[][] headers = {
05: { "x-up-fax-limit", "100000" },
06: {
07: "x-up-fax-accepts",
08: "text/plain, application/postscript,application/msword, application/rtf, application/pdf" },
09: { "x-up-devcap-max-pdu", "32200" },
10: { "x-up-devcap-charset",
11: "iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6" },
12: { "x-up-WTLS-info", "on;bit=128" },
13: { "x-up-fax-encodings",
14: "7bit, 8bit, base64, quoted-printable" },
15: { "X-WAP.TOD", "00" },
16: {
17: "Accept",
18: "application/vnd.wap.wtls-ca-certificate, text/plain, text/x-vCard, text/x-vCalendar, application/x-wap-prov.browser-settings, application/x-nokia.settings, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/x-NokiaGameData, image/vnd.wap.wbmp, image/gif, application/x-wap-prov.browser-bookmarks, text/vnd.sun.j2me.app-descriptor, application/java, application/java-archive, application/x-java-archive, application/vnd.wap.sic, image/bmp,image/vnd.wap.wbmp,application/x-nokia.settings-xml,text/x-wap.wml,text/vnd.wap.wml,text/x-hdml,text/html,text/vnd.wap.wmlscript,text/vnd.wap.si, */*" },
19: { "Accept-Charset",
20: "iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, UTF-8, *" },
21: { "Accept-Language", "en-US" },
22: { "User-Agent",
23: "Nokia6310i/1.0 (5.10) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/5.1.2.9" } };
24:
25: public String[][] getHeaders() {
26: return (headers);
27: }
28:
29: }
30:
31: // snoop capture
32: // x-up-uplink: pn.attwireless.net
33: // x-up-fax-limit: 100000
34: // x-up-subno: 1161615-19873_pn.attwireless.net
35: // x-up-fax-accepts: text/plain, application/postscript, application/msword, application/rtf, application/pdf
36: // X-WAP.TOD: 00
37: // host: peeruz.ispxpress.net:80
38: // Accept-Language: en-US
39: // User-Agent: Nokia6310i/1.0 (5.10) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/5.1.2.9
40: // x-up-devcap-max-pdu: 32200
41: // x-up-devcap-charset: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6
42: // x-up-WTLS-info: on;bit=128
43: // Connection: close
44: // x-up-wappush-secure: pn.attwireless.net:9003/pap
45: // x-up-fax-encodings: 7bit, 8bit, base64, quoted-printable
46: // Accept: application/vnd.wap.wtls-ca-certificate, text/plain, text/x-vCard, text/x-vCalendar, application/x-wap-prov.browser-settings, application/x-nokia.settings, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/x-NokiaGameData, image/vnd.wap.wbmp, image/gif, application/x-wap-prov.browser-bookmarks, text/vnd.sun.j2me.app-descriptor, application/java, application/java-archive, application/x-java-archive, application/vnd.wap.sic, image/bmp,image/vnd.wap.wbmp,application/x-nokia.settings-xml,text/x-wap.wml,text/vnd.wap.wml,text/x-hdml,text/html,text/vnd.wap.wmlscript,text/vnd.wap.si, */*
47: // x-up-wappush-unsecure: pn.attwireless.net:9002/pap
48: // Accept-Charset: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, UTF-8, *
|