rabbit.handler
Interface Handler

All Known Implementing Classes:
BaseHandler, FilterHandler, GZipHandler, ImageHandler, MultiPartHandler

public interface Handler

This interface descsribes the methods neccessary to implement a handler. Besides this a constructor is also nedded

Author:
Robert Olofsson

Method Summary
 boolean changesContentSize()
          Check if this handler will change the content size.
 void handle()
          handle a request.
 

Method Detail

handle

void handle()
handle a request.


changesContentSize

boolean changesContentSize()
Check if this handler will change the content size.

Returns:
true if Content-Lenght may be changed by this handler typically used for handlers that may modify the content. Return false if this handler will not change the size.