|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Handler<E>
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 |
HEADERS_PARSED
The headers have been parsed |
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(SocketChannel socketChannel)
The SocketChannel 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
static final int HEADERS_PARSED
| Method Detail |
|---|
int handle(E e,
int handlerCode)
throws IOException
IOExceptionvoid attachChannel(SocketChannel socketChannel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||