Open SiteSearch 4.1.1
Final

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.


Field Summary
 int count
           
 URL curr
           
 boolean debug
           
 int error
           
 Hashtable headers
           
 long HTTPElapsedTime
           
 long HTTPReadBodyBytes
           
 long HTTPReadBytes
           
 long HTTPReadHeaderBytes
           
 long HTTPWriteBytes
           
 String id
           
 String lastModified
           
 String method
           
 String rdata
           
 String redirect
           
 Vector redirects
           
 String rheader
           
 String sdata
           
 String statusCode
           
 String statusMsg
           
 URL url
           
 
Constructor Summary
MyURL(String u)
           
MyURL(URL u)
           
 
Method Summary
 void doSend()
           
static MyURL fetch(String in_url)
           
 boolean isRedirect()
           
 void realSend()
           
 void send()
           
 void setMethod(String m)
           
 void setSocketReadTimeout(int t)
           
 void setURL(String u)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MyURL

public MyURL(URL u)

MyURL

public MyURL(String u)
Method Detail

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)

Open SiteSearch 4.1.1
Final