|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.data.processing.http.HttpResponseProcessor
public class HttpResponseProcessor
A response processor. Does not handle trailing headers!
Version History
EPG - Initial - 12 FEB 07
| Constructor Summary | |
|---|---|
HttpResponseProcessor()
|
|
| Method Summary | |
|---|---|
HttpResponse |
process(java.io.InputStream input)
Process a response from a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpResponseProcessor()
throws java.lang.Throwable
java.lang.Throwable| Method Detail |
|---|
public HttpResponse process(java.io.InputStream input)
throws ThingsException,
java.lang.InterruptedException,
java.io.IOException
Only one thread per object at a time, so we synchronize it.
input - the source input. It should be buffered already.
ThingsException - for any problem not related to the input source. Check the level to decide how fatal it is.
java.io.IOException - if the input source has a problem. You can assume it is dead.
java.lang.InterruptedExceptionHttpResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||