|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpProbe
Monitoring probe providing callbacks that may be invoked by Grizzly Http filters.
| Method Summary | |
|---|---|
void |
onContentChunkParseEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk gets parsed (either request or response). |
void |
onContentChunkSerializeEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response). |
void |
onContentEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
onContentEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
void |
onDataReceivedEvent(Connection connection,
Buffer buffer)
Method will be called, when Buffer will come for processing to
the HttpCodecFilter (either request or response). |
void |
onDataSentEvent(Connection connection,
Buffer buffer)
Method will be called, when Buffer, produced by the
HttpCodecFilter will be ready to go to the next
Filter in the chain and finally
written on wire. |
void |
onErrorEvent(Connection connection,
Throwable error)
Method will be called, when error occurs during the HttpCodecFilter processing. |
void |
onHeaderParseEvent(Connection connection,
HttpHeader header,
int size)
Method will be called, when HTTP message header gets parsed (either request or response). |
void |
onHeaderSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer)
Method will be called, when HTTP message header gets serialized (either request or response). |
void |
onTransferEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
onTransferEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
| Method Detail |
|---|
void onDataReceivedEvent(Connection connection,
Buffer buffer)
Buffer will come for processing to
the HttpCodecFilter (either request or response).
connection - Connection, the event belongs to.buffer - Buffer to be parsed.
void onDataSentEvent(Connection connection,
Buffer buffer)
Buffer, produced by the
HttpCodecFilter will be ready to go to the next
Filter in the chain and finally
written on wire.
connection - Connection, the event belongs to.buffer - serialized Buffer.
void onHeaderParseEvent(Connection connection,
HttpHeader header,
int size)
connection - Connection, the event belongs to.header - parsed HttpHeader.size - the size of the parsed header buffer.
void onHeaderSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer)
connection - Connection, the event belongs to.header - serialized HttpHeader.buffer - the serialized header Buffer.
void onContentChunkParseEvent(Connection connection,
HttpContent content)
connection - Connection, the event belongs to.content - parsed HttpContent.
void onContentChunkSerializeEvent(Connection connection,
HttpContent content)
connection - Connection, the event belongs to.content - HttpContent to be serialized.
void onContentEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
ContentEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk.
connection - Connection, the event belongs to.header - HTTP HttpHeader, the event belongs to.buffer - Buffer to be parsed/decoded.contentEncoding - ContentEncoding to be applied.
void onContentEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
ContentEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk.
connection - Connection, the event belongs to.header - HTTP HttpHeader, the event belongs to.buffer - Buffer to be serialized/encoded.contentEncoding - ContentEncoding to be applied.
void onTransferEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
TransferEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk.
connection - Connection, the event belongs to.header - HTTP HttpHeader, the event belongs to.buffer - Buffer to be parsed/decoded.transferEncoding - TransferEncoding to be applied.
void onTransferEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
TransferEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk.
connection - Connection, the event belongs to.header - HTTP HttpHeader, the event belongs to.buffer - Buffer to be serialized/encoded.transferEncoding - TransferEncoding to be applied.
void onErrorEvent(Connection connection,
Throwable error)
HttpCodecFilter processing.
connection - Connection, the event belongs to.error - error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||