@ManagedObject @Description(value="This Filter is responsible for the parsing incoming HTTP packets and serializing high level objects back into the HTTP protocol format.") public class HttpCodecFilter extends JmxObject
HttpCodecFilter
.Constructor and Description |
---|
HttpCodecFilter(HttpCodecFilter httpCodecFilter) |
Modifier and Type | Method and Description |
---|---|
String |
getGzipCompressionRatio() |
long |
getHttpCodecErrorCount() |
String |
getJmxName() |
String |
getLzmaAvgCompressionPercent() |
long |
getTotalBytesAfterGzipEncoding() |
long |
getTotalBytesAfterLzmaEncoding() |
long |
getTotalBytesBeforeGzipEncoding() |
long |
getTotalBytesBeforeLzmaEncoding() |
long |
getTotalContentReceived() |
long |
getTotalContentWritten() |
protected void |
onDeregister(GrizzlyJmxManager mom)
Method will be called right after this JmxObject is unregistered by the JMX manager.
|
protected void |
onRegister(GrizzlyJmxManager mom,
org.glassfish.gmbal.GmbalMBean bean)
Method will be called right after this JmxObject is registered by the JMX manager.
|
public HttpCodecFilter(HttpCodecFilter httpCodecFilter)
public String getJmxName()
getJmxName
in class JmxObject
protected void onRegister(GrizzlyJmxManager mom, org.glassfish.gmbal.GmbalMBean bean)
onRegister
in class JmxObject
mom
- GrizzlyJmxManager
Grizzly JMX manager.bean
- GmbalMBean
, which represents the registration.protected void onDeregister(GrizzlyJmxManager mom)
onDeregister
in class JmxObject
mom
- GrizzlyJmxManager
Grizzly JMX manager.@ManagedAttribute(id="total-bytes-received") @Description(value="The total number of bytes this filter has processed as part of the HTTP protocol parsing process.") public long getTotalContentReceived()
HttpCodecFilter
.@ManagedAttribute(id="total-bytes-written") @Description(value="The total number of bytes that have been written as part of the serialization process to the HTTP protocol.") public long getTotalContentWritten()
HttpCodecFilter
.@ManagedAttribute(id="http-codec-error-count") @Description(value="The total number of protocol errors that have occurred during either the parsing or serialization process.") public long getHttpCodecErrorCount()
@ManagedAttribute(id="http-codec-before-gzip-compression-total") @Description(value="The total number of bytes before gzip compression has been applied.") public long getTotalBytesBeforeGzipEncoding()
@ManagedAttribute(id="http-codec-after-gzip-compression-total") @Description(value="The total number of bytes after gzip compression has been applied.") public long getTotalBytesAfterGzipEncoding()
@ManagedAttribute(id="http-codec-gzip-avg-compression-percent") @Description(value="The average gzip compression result.") public String getGzipCompressionRatio()
@ManagedAttribute(id="http-codec-before-lzma-compression-total") @Description(value="The total number of bytes before lzma compression has been applied.") public long getTotalBytesBeforeLzmaEncoding()
@ManagedAttribute(id="http-codec-after-lzma-compression-total") @Description(value="The total number of bytes after lzma compression has been applied.") public long getTotalBytesAfterLzmaEncoding()
@ManagedAttribute(id="http-codec-lzma-avg-compression-percent") @Description(value="The average lzma compression result.") public String getLzmaAvgCompressionPercent()
Copyright © 2014 Oracle Corporation. All rights reserved.