org.glassfish.grizzly.http.server.jmx
Class NetworkListener

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

@ManagedObject
@Description(value="The NetworkListener is an abstraction around the Transport (exposed as a child of this entity).")
public class NetworkListener
extends JmxObject

JMX management object for NetworkListener.

Since:
2.0

Constructor Summary
NetworkListener(NetworkListener listener)
           
 
Method Summary
 String getHost()
           
 int getIdleTimeoutInSeconds()
           
 String getJmxName()
          
 int getMaxHttpHeaderSize()
           
 int getMaxPendingBytes()
           
 String getName()
           
 int getPort()
           
 boolean isChunkingEnabled()
           
 boolean isPaused()
           
 boolean isSecure()
           
 boolean isStarted()
           
protected  void onDeregister(GrizzlyJmxManager mom)
          
protected  void onRegister(GrizzlyJmxManager mom, org.glassfish.gmbal.GmbalMBean bean)
          
protected  void rebuildSubTree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkListener

public NetworkListener(NetworkListener listener)
Method Detail

getJmxName

public 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

getName

@ManagedAttribute(id="name")
@Description(value="The logical name of the listener.")
public String getName()
See Also:
NetworkListener.getName()

getHost

@ManagedAttribute(id="host")
@Description(value="The network host to which this listener is bound.")
public String getHost()
See Also:
NetworkListener.getHost()

getPort

@ManagedAttribute(id="port")
@Description(value="The network port to which this listener is bound.")
public int getPort()
See Also:
NetworkListener.getPort()

getIdleTimeoutInSeconds

@ManagedAttribute(id="idle-timeout-in-seconds")
@Description(value="The time, in seconds, to keep an inactive request alive.")
public int getIdleTimeoutInSeconds()
See Also:
KeepAlive.getIdleTimeoutInSeconds()

isSecure

@ManagedAttribute(id="secure")
@Description(value="Indicates whether or not this listener is secured via SSL.")
public boolean isSecure()
See Also:
NetworkListener.isSecure()

getMaxHttpHeaderSize

@ManagedAttribute(id="max-http-header-size")
@Description(value="The maximum size, in bytes, an HTTP request may be.")
public int getMaxHttpHeaderSize()
See Also:
NetworkListener.getMaxHttpHeaderSize()

getMaxPendingBytes

@ManagedAttribute(id="max-pending-bytes")
@Description(value="The maximum size, in bytes, a connection may have waiting to be sent to the client.")
public int getMaxPendingBytes()
See Also:
NetworkListener.getName()

isChunkingEnabled

@ManagedAttribute(id="chunking-enabled")
@Description(value="Flag indicating whether or not the http response body will be sent using the chunked transfer encoding.")
public boolean isChunkingEnabled()
See Also:
NetworkListener.isChunkingEnabled()

isStarted

@ManagedAttribute(id="started")
@Description(value="Indicates whether or not this listener is started.")
public boolean isStarted()
See Also:
NetworkListener.isStarted()

isPaused

@Description(value="Indicates whether or not a started listener is actively processing requests.")
@ManagedAttribute(id="paused")
public boolean isPaused()
See Also:
NetworkListener.isPaused()

rebuildSubTree

protected void rebuildSubTree()


Copyright © 2012 Oracle Corporation. All Rights Reserved.