multivalent
Class DocInfo
public
class
DocInfo
extends Object
Record of various data about a Document,
for parameters for loading and for reports of general information for various behaviors.
Version: $Revision: 1.4 $ $Date: 2002/10/29 16:30:57 $
Field Summary |
Map<String,Object> | attrs in-out: URL in (which could be search words), signature stripped off, .... |
Document | doc maybe change to String that you search for. |
String | genre Genre mapping, such as "PDF" or "ManualPage". |
Map<String,String> | headers HTTP headers (mocked up for file). |
String | method HTTP method: GET, POST, HEAD, .... |
int | returncode -1==haven't connected yet. |
URI | uri Actual URI found, after possible 300/301/302 redirect, generalization to match compressed version, redirection to cached copy, or whatever. |
Object | uriin Requested URI. |
Object | window set to Browser or String name of Browser window. |
public final Map<String,Object> attrs
in-out: URL in (which could be search words), signature stripped off, ....
maybe change to String that you search for.
public String genre
Genre mapping, such as "PDF" or "ManualPage".
public final Map<String,String> headers
HTTP headers (mocked up for file). in-out => change to List<> as can have duplicate keys, as with set-cookie. Normalize key.
public String method
HTTP method: GET, POST, HEAD, .... Stuff accompanying (escaped) data for POST in attrs.
public int returncode
-1==haven't connected yet.
public URI uri
Actual URI found, after possible 300/301/302 redirect, generalization to match compressed version, redirection to cached copy, or whatever.
public Object uriin
Requested URI. Can be URL, search words, "about:multivalent", whatever.
public Object window
set to Browser or String name of Browser window.
public DocInfo(URI uri)