HttpHeaderListener (RabbIT/4)
Date: 2009-10-13

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

## rabbit.httpio
Interface HttpHeaderListener

All Superinterfaces:
  AsyncListener

All Known Implementing Classes:
  HttpResponseReader, SWC

    public interface HttpHeaderListener

extends AsyncListener

A listener for http headers.

Author:
  Robert Olofsson

Method Summary
`void` | `closed()` The socket connection has been closed, either by this end or the other side.
`void` | `httpHeaderRead(HttpHeader header, BufferHandle bh, boolean keepalive, boolean isChunked, long dataSize)` One http header has been read

Methods inherited from interface rabbit.httpio.AsyncListener
`failed, timeout`

Method Detail

### httpHeaderRead

    void httpHeaderRead(HttpHeader header,
                        BufferHandle bh,
                        boolean keepalive,
                        boolean isChunked,
                        long dataSize)

  One http header has been read

  Parameters:
    `header` - the HttpHeader that was read
    `bh` - the BufferHandle that may or may not hold unread data.
    `keepalive` - if the sender want to use keepalive.
    `isChunked` - if false content is not chunked, if true content is chunked.
    `dataSize` - the contents size or -1 if size is unknown.

### closed

    void closed()

  The socket connection has been closed, either by this end or the other side. Quite common on persistent connections.

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