|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.uploader.UnavailableRangeUploadState
An implementaiton of the UploadState that sends an error message for an unavailable range that has been requested. This is an HTTP 503 error.
| Constructor Summary | |
UnavailableRangeUploadState(HTTPUploader uploader)
Creates a new LimitReachedUploadState with the specified FileDesc. |
|
| Method Summary | |
boolean |
getCloseConnection()
Determines whether or not the connection this HTTPMessage was sent on should be terminated after sending. |
void |
writeMessageBody(java.io.OutputStream ostream)
Writes the message body for this message to the specified OutputStream. |
void |
writeMessageHeaders(java.io.OutputStream ostream)
Writes out the HTTP headers for this message to the specified OutputStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnavailableRangeUploadState(HTTPUploader uploader)
| Method Detail |
public void writeMessageHeaders(java.io.OutputStream ostream)
throws java.io.IOException
HTTPMessage
writeMessageHeaders in interface HTTPMessageostream - the OutputStream to write to
java.io.IOException
public void writeMessageBody(java.io.OutputStream ostream)
throws java.io.IOException
HTTPMessage
writeMessageBody in interface HTTPMessageostream - the OutputStream to write to
java.io.IOExceptionpublic boolean getCloseConnection()
HTTPMessage
getCloseConnection in interface HTTPMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||