|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Interceptor<E,F extends Channel>
Simple interception hook used to trap events inside Grizzly core.
| Field Summary | |
|---|---|
static int |
BREAK
Do not continue the processing. |
static int |
CONTINUE
Continue the processing |
static int |
REQUEST_BUFFERED
The request has been buffered. |
static int |
REQUEST_LINE_PARSED
The request line has been parsed |
static int |
RESPONSE_PROCEEDED
The response has been proceeded. |
| Method Summary | |
|---|---|
void |
attachChannel(F channel)
The Channel associated with this handler. |
int |
handle(E e,
int handlerCode)
Handle |
| Field Detail |
|---|
static final int CONTINUE
static final int BREAK
static final int REQUEST_LINE_PARSED
static final int RESPONSE_PROCEEDED
static final int REQUEST_BUFFERED
| Method Detail |
|---|
int handle(E e,
int handlerCode)
throws IOException
e - handlerCode -
IOExceptionvoid attachChannel(F channel)
Channel associated with this handler.
socketChannel -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||