org.glassfish.grizzly.http.jmx
Class HttpCodecFilter

java.lang.Object
  extended by org.glassfish.grizzly.monitoring.jmx.JmxObject
      extended by org.glassfish.grizzly.http.jmx.HttpCodecFilter

@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

JMX management object for the HttpCodecFilter.

Since:
2.0

Constructor Summary
HttpCodecFilter(HttpCodecFilter httpCodecFilter)
           
 
Method Summary
 long getHttpCodecErrorCount()
           
 java.lang.String getJmxName()
          
 long getTotalContentReceived()
           
 long getTotalContentWritten()
           
protected  void onDeregister(GrizzlyJmxManager mom)
          
protected  void onRegister(GrizzlyJmxManager mom, org.glassfish.gmbal.GmbalMBean bean)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCodecFilter

public HttpCodecFilter(HttpCodecFilter httpCodecFilter)
Method Detail

getJmxName

public java.lang.String getJmxName()

Specified by:
getJmxName in class JmxObject

onRegister

protected void onRegister(GrizzlyJmxManager mom,
                          org.glassfish.gmbal.GmbalMBean bean)

Specified by:
onRegister in class JmxObject

onDeregister

protected void onDeregister(GrizzlyJmxManager mom)

Specified by:
onDeregister in class JmxObject

getTotalContentReceived

@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()
Returns:
total number of bytes received by this HttpCodecFilter.

getTotalContentWritten

@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()
Returns:
total number of bytes written by this HttpCodecFilter.

getHttpCodecErrorCount

@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()
Returns:
total number of HTTP codec errors.


Copyright © 2011 Oracle Corpration. All Rights Reserved.