rice.proxy
Class HttpFetcher
java.lang.Object
rice.proxy.HttpFetcher
-
public class HttpFetcher
- extends java.lang.Object
Field Summary |
protected java.io.OutputStream |
out
|
protected java.net.URL |
url
|
Constructor Summary |
HttpFetcher(java.net.URL url,
java.io.OutputStream out)
|
Method Summary |
protected void |
close()
|
byte[] |
fetch()
|
static void |
main(java.lang.String[] args)
|
byte[] |
readHttpURL(java.net.HttpURLConnection url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
protected java.net.URL url
out
protected java.io.OutputStream out
HttpFetcher
public HttpFetcher(java.net.URL url,
java.io.OutputStream out)
fetch
public byte[] fetch()
throws java.io.IOException
-
-
Throws:
java.io.IOException
readHttpURL
public final byte[] readHttpURL(java.net.HttpURLConnection url)
throws java.io.IOException
-
-
Throws:
java.io.IOException
close
protected void close()
throws java.io.IOException
-
-
Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.IOException
-
-
Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.