org.mozilla.webclient
Interface PageInfoListener

All Superinterfaces:
DocumentLoadListener, WebclientEventListener

public interface PageInfoListener
extends DocumentLoadListener

This DocumentLoadListener subclass adds the ability to get detailed information on each event.

The eventData property of the DocumentLoadEvent instance will be a java.util.Map. The following entries may be present in this map for the following *_EVENT_MASK types in DocumentLoadEvent.

For all *_EVENT_MASK types

the map will contain an entry under the key "URI" without the quotes. This will be the fully qualified URI for the event.

For START_URL_LOAD type

The map will contain an entry under the key "method" without the quotes. This will be the request method for this event. The map will also contain an entry under the key "headers". This entry will be a java.util.Map of all the request headers.

For END_URL_LOAD type

The map will contain an entry under the key "method" without the quotes. This will be the request method for this event. The map will contain an entry under the key "status" without the quotes. This will be the response status string from the server, such as "200 OK". The map will also contain an entry under the key "headers". This entry will be a java.util.Map of all the response headers.


Method Summary
 
Methods inherited from interface org.mozilla.webclient.WebclientEventListener
eventDispatched
 



Copyright © 2002-2005 Mozilla.org All Rights Reserved.