ORG.oclc.kilroy.harvester
Class MyURL
java.lang.Object
|
+--ORG.oclc.kilroy.harvester.MyURL
- public class MyURL
- extends Object
A class of URL which will read from the stream and
parse headers and content.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
url
public URL url
curr
public URL curr
redirect
public String redirect
sdata
public String sdata
rdata
public String rdata
rheader
public String rheader
method
public String method
headers
public Hashtable headers
redirects
public Vector redirects
statusCode
public String statusCode
statusMsg
public String statusMsg
error
public int error
id
public String id
count
public int count
lastModified
public String lastModified
debug
public boolean debug
HTTPReadBodyBytes
public long HTTPReadBodyBytes
HTTPReadHeaderBytes
public long HTTPReadHeaderBytes
HTTPReadBytes
public long HTTPReadBytes
HTTPWriteBytes
public long HTTPWriteBytes
HTTPElapsedTime
public long HTTPElapsedTime
MyURL
public MyURL(URL u)
MyURL
public MyURL(String u)
setSocketReadTimeout
public final void setSocketReadTimeout(int t)
setURL
public final void setURL(String u)
isRedirect
public final boolean isRedirect()
setMethod
public final void setMethod(String m)
send
public final void send()
realSend
public final void realSend()
doSend
public final void doSend()
fetch
public static final MyURL fetch(String in_url)