HttpCodecFilter.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final HttpCodecFilter | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final HttpProbe |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public String | |
| public long | |
| public String | |
| public String | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | getTotalContentReceived()
Returns: total number of bytes received by this
|
| public long | getTotalContentWritten()
Returns: total number of bytes written by this
|
| protected void | onDeregister(GrizzlyJmxManager mom)
Implements abstract org. Method will be called right after this JmxObject is unregistered by the JMX manager. |
| protected void | onRegister(GrizzlyJmxManager mom, GmbalMBean bean)
Implements abstract org. Method will be called right after this JmxObject is registered by the JMX manager. |
| contentBeforeCompressionTotalGzip | back to summary |
|---|---|
| private final AtomicLong contentBeforeCompressionTotalGzip | |
| contentBeforeCompressionTotalLzma | back to summary |
|---|---|
| private final AtomicLong contentBeforeCompressionTotalLzma | |
| contentCompressionTotalGzip | back to summary |
|---|---|
| private final AtomicLong contentCompressionTotalGzip | |
| contentCompressionTotalLzma | back to summary |
|---|---|
| private final AtomicLong contentCompressionTotalLzma | |
| httpCodecErrorCount | back to summary |
|---|---|
| private final AtomicLong httpCodecErrorCount | |
| httpCodecFilter | back to summary |
|---|---|
| private final HttpCodecFilter httpCodecFilter | |
| httpContentReceived | back to summary |
|---|---|
| private final AtomicLong httpContentReceived | |
| httpContentWritten | back to summary |
|---|---|
| private final AtomicLong httpContentWritten | |
| probe | back to summary |
|---|---|
| private final HttpProbe probe | |
| HttpCodecFilter | back to summary |
|---|---|
| public HttpCodecFilter(HttpCodecFilter httpCodecFilter) | |
| calculateAvgCompressionPercent | back to summary |
|---|---|
| private String calculateAvgCompressionPercent(double original, double result) | |
| getGzipCompressionRatio | back to summary |
|---|---|
public String getGzipCompressionRatio()
| |
| getHttpCodecErrorCount | back to summary |
|---|---|
public long getHttpCodecErrorCount()
| |
| getJmxName | back to summary |
|---|---|
| public String getJmxName() Implements abstract org.
| |
| getLzmaAvgCompressionPercent | back to summary |
|---|---|
public String getLzmaAvgCompressionPercent()
| |
| getTotalBytesAfterGzipEncoding | back to summary |
|---|---|
public long getTotalBytesAfterGzipEncoding()
| |
| getTotalBytesAfterLzmaEncoding | back to summary |
|---|---|
public long getTotalBytesAfterLzmaEncoding()
| |
| getTotalBytesBeforeGzipEncoding | back to summary |
|---|---|
public long getTotalBytesBeforeGzipEncoding()
| |
| getTotalBytesBeforeLzmaEncoding | back to summary |
|---|---|
public long getTotalBytesBeforeLzmaEncoding()
| |
| getTotalContentReceived | back to summary |
|---|---|
public long getTotalContentReceived()
| |
| getTotalContentWritten | back to summary |
|---|---|
public long getTotalContentWritten()
| |
| onDeregister | back to summary |
|---|---|
| protected void onDeregister(GrizzlyJmxManager mom) Implements abstract org. Doc from org. Method will be called right after this JmxObject is unregistered by the JMX manager.
| |
| onRegister | back to summary |
|---|---|
| protected void onRegister(GrizzlyJmxManager mom, GmbalMBean bean) Implements abstract org. Doc from org. Method will be called right after this JmxObject is registered by the JMX manager.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onContentChunkParseEvent(Connection<L> connection, HttpContent content)
Implements org. Method will be called, when HTTP message content chunk gets parsed (either request or response). |
| public void | onContentChunkSerializeEvent(Connection<L> connection, HttpContent content)
Implements org. Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response). |
| public void | onContentEncodingParseEvent(Connection<L> connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding)
Implements org. Method will be called, when |
| public void | onContentEncodingParseResultEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding)
Implements org. This method will be called after the |
| public void | onContentEncodingSerializeEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding)
Implements org. /** Method will be called, when |
| public void | onContentEncodingSerializeResultEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding)
Implements org. Method will be called, when |
| public void | onDataReceivedEvent(Connection<L> connection, Buffer buffer)
Implements org. Method will be called, when |
| public void | onDataSentEvent(Connection<L> connection, Buffer buffer)
Implements org. Method will be called, when |
| public void | onErrorEvent(Connection<L> connection, HttpPacket httpPacket, Throwable error)
Implements org. Method will be called, when error occurs during the |
| public void | onHeaderParseEvent(Connection<L> connection, HttpHeader header, int size)
Implements org. Method will be called, when HTTP message header gets parsed (either request or response). |
| public void | onHeaderSerializeEvent(Connection<L> connection, HttpHeader header, Buffer buffer)
Implements org. Method will be called, when HTTP message header gets serialized (either request or response). |
| public void | onTransferEncodingParseEvent(Connection<L> connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding)
Implements org. Method will be called, when |
| public void | onTransferEncodingSerializeEvent(Connection<L> connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding)
Implements org. Method will be called, when |
| JmxHttpProbe | back to summary |
|---|---|
| private JmxHttpProbe() | |
| onContentChunkParseEvent | back to summary |
|---|---|
| public void onContentChunkParseEvent(Connection<L> connection, HttpContent content) Implements org. Doc from org. Method will be called, when HTTP message content chunk gets parsed (either request or response).
| |
| onContentChunkSerializeEvent | back to summary |
|---|---|
| public void onContentChunkSerializeEvent(Connection<L> connection, HttpContent content) Implements org. Doc from org. Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response).
| |
| onContentEncodingParseEvent | back to summary |
|---|---|
| public void onContentEncodingParseEvent(Connection<L> connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) Implements org. Doc from org. Method will be called, when
| |
| onContentEncodingParseResultEvent | back to summary |
|---|---|
| public void onContentEncodingParseResultEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Implements org. Doc from org. This method will be called after the
| |
| onContentEncodingSerializeEvent | back to summary |
|---|---|
| public void onContentEncodingSerializeEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Implements org. Doc from org. /** Method will be called, when
| |
| onContentEncodingSerializeResultEvent | back to summary |
|---|---|
| public void onContentEncodingSerializeResultEvent(Connection<L> connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Implements org. Doc from org. Method will be called, when
| |
| onDataReceivedEvent | back to summary |
|---|---|
| public void onDataReceivedEvent(Connection<L> connection, Buffer buffer) Implements org. Doc from org. Method will be called, when
| |
| onDataSentEvent | back to summary |
|---|---|
| public void onDataSentEvent(Connection<L> connection, Buffer buffer) Implements org. Doc from org. Method will be called, when
| |
| onErrorEvent | back to summary |
|---|---|
| public void onErrorEvent(Connection<L> connection, HttpPacket httpPacket, Throwable error) Implements org. Doc from org. Method will be called, when error occurs during the
| |
| onHeaderParseEvent | back to summary |
|---|---|
| public void onHeaderParseEvent(Connection<L> connection, HttpHeader header, int size) Implements org. Doc from org. Method will be called, when HTTP message header gets parsed (either request or response).
| |
| onHeaderSerializeEvent | back to summary |
|---|---|
| public void onHeaderSerializeEvent(Connection<L> connection, HttpHeader header, Buffer buffer) Implements org. Doc from org. Method will be called, when HTTP message header gets serialized (either request or response).
| |
| onTransferEncodingParseEvent | back to summary |
|---|---|
| public void onTransferEncodingParseEvent(Connection<L> connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Implements org. Doc from org. Method will be called, when
| |
| onTransferEncodingSerializeEvent | back to summary |
|---|---|
| public void onTransferEncodingSerializeEvent(Connection<L> connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Implements org. Doc from org. Method will be called, when
| |