HTTP Client Side Monitor
Schedule
- 06/15 - M1 Feature Freeze
- 06/16 - Ability to set Feature Set for Http Monitor (Client Side) COMPLETED
- 06/20 - DBGP interaction completed and hopefully response filter working.
- 06/25 - Preview of JSON/XML Dependency: http://wiki.netbeans.org/JsonTools
- 06/27 - UI Work Completed - Hopefully I will be able to get some time to do eye candy. I am really not sure how long this will take. I would like up to feature freeze to modify the UI.
- 07/13 - Feature Freeze
- 08/17 - UI Freeze
- 08/31 - Code Freeze
- 10/02 - 6.5 Release
Windows
Windows Functional Spec
Debugger Feature Set/Unset
The Client Side Http Monitor will use the "feature_set" command as defined by
DBGP.
debugger engine will receive
<feature_set
name="http_monitor"
enable="true|flase"
/> //feature_set
Http Notifications
The "http" element will be an extension of the our Message Interface as defined in the dbgp module ( and the the spec ). The following are simply examples of the schema. However, elements like "header" will have varying attributes.
Request Activity
<http type="request" id="1209013880362" method="GET" timestamp="1209013880362"
ipaddress="127.0.0.1" protocol="HTTP/1.1" queryString="&user=Name?password=Pass" uri="/WebApplication2/">
<header
host="localhost:8080"
user-agent"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8"
accept="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
accept-language="en-us,en;q=0.5"
accept-encoding="gzip,deflate"
accept-charset"ISO-8859-1,utf-8;q=0.7,*;q=0.7"
keep-alive="300"
connection="keep-alive"
referer=http://localhost:8080/JSDEBUGGER/yui.html>
/> //header
/> //http
Response Activity
<http type="response" id="1209013880362" method="GET" timestamp="1209013880362"
ipaddress="127.0.0.1" method="GET" protocol="HTTP/1.1" queryString="&user=Name?password=Pass" uri="/WebApplication2/">
<header
date="Sun, 08 Jun 2008 19:32:56 GMT"
cache-control="max-age=315360000"
expires"Wed, 19 Mar 2008 21:11:32 GMT"
last-modified="We, 19 Mar 2008 21:11:32 GMT"
accept-ranges="bytes"
x-yahoo-compressed="true"
vary="Accept-Encoding"
connect-type="application/x-javascript"
connection="keep-alive"
Server="YTS/1.16.0"
/> //header
/> //http
Progress Activity
<http type="progress" id="1209013880362"
current="383"
max="383"
total="5853"
maxTotal="5853">
/> //http
Things to do:
After discussions with Deva, this is the direction I am heading next.
- update debugger.js to receive feature-set
- update net.js to send dbpg to socket
- update DebuggerProxy.java to handleMessage of type http message and put it in the Blocking Queue
- create method that extends Dbgp message