Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## things.data.processing.http
Class HttpResponseProcessor

    java.lang.Object
      things.data.processing.http.HttpResponseProcessor

    public class HttpResponseProcessor

extends java.lang.Object

A response processor. Does not handle trailing headers!

Version:
  1.0

  Version History

      EPG - Initial - 12 FEB 07

Author:
  Erich P. Gatejen

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

### HttpResponseProcessor

    public HttpResponseProcessor()
                          throws java.lang.Throwable

Throws:
  `java.lang.Throwable`

Method Detail

### process

    public HttpResponse process(java.io.InputStream input)
                         throws ThingsException,
                                java.lang.InterruptedException,
                                java.io.IOException

  Process a response from a stream.

  Only one thread per object at a time, so we synchronize it.

  Parameters:
    `input` - the source input. It should be buffered already.
  Returns:
    the request
  Throws:
    `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.InterruptedException`
  See Also:
    `HttpResponse`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Things.