|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HandlerFactory
The methods needed to create a new Handler.
| Method Summary | |
|---|---|
Handler |
getNewInstance(Connection connection,
HTTPHeader header,
HTTPHeader webheader,
HTTPInputStream contentStream,
MultiOutputStream out,
boolean maycache,
boolean mayfilter,
long size)
Get a new Handler for the given request made. |
void |
setup(Logger logger,
SProperties properties)
setup the handler factory. |
| Method Detail |
|---|
Handler getNewInstance(Connection connection,
HTTPHeader header,
HTTPHeader webheader,
HTTPInputStream contentStream,
MultiOutputStream out,
boolean maycache,
boolean mayfilter,
long size)
connection - the Connection handling the request.header - the request.webheader - the response.contentStream - the data to read.out - the client (and possibly the cache).maycache - if the handler may cache the response.mayfilter - if the handler may filter the response.size - the Size of the data beeing handled (-1 = unknown length).
void setup(Logger logger,
SProperties properties)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||