|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.monkeycoder.monkeynetwork.ContentDownloader
com.monkeycoder.monkeynetwork.HeaderContentDownloader
public class HeaderContentDownloader
This ContentDownloader blindly accepts incoming data until the expected end of the header. The end of the header is marked by 2 consecutive linefeed characters.
| Field Summary |
|---|
| Fields inherited from class com.monkeycoder.monkeynetwork.ContentDownloader |
|---|
hhd |
| Constructor Summary | |
|---|---|
HeaderContentDownloader(HttpHeaderData inHhd)
Creates a new HeaderContentDownloader. |
|
| Method Summary | |
|---|---|
protected boolean |
download(TurboBuffer inBuffer,
java.io.InputStream inStream)
Does the actual downloading of the requested content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderContentDownloader(HttpHeaderData inHhd)
inHhd - Expects null. Not used.| Method Detail |
|---|
protected boolean download(TurboBuffer inBuffer,
java.io.InputStream inStream)
throws java.io.IOException,
MonkeyException
download in class ContentDownloaderinBuffer - The TurboBuffer into which the data will be placed.inStream - The InputStream from which the data will be read.
java.io.IOException - If thrown by underlying code.
MonkeyException - If thrown by underlying code.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||