@ManagedObject @Description(value="The NetworkListener is an abstraction around the Transport (exposed as a child of this entity).") public class NetworkListener extends JmxObject
NetworkListener
.Constructor and Description |
---|
NetworkListener(NetworkListener listener) |
Modifier and Type | Method and Description |
---|---|
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)
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.
|
protected void |
rebuildSubTree() |
public NetworkListener(NetworkListener listener)
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="name") @Description(value="The logical name of the listener.") public String getName()
NetworkListener.getName()
@ManagedAttribute(id="host") @Description(value="The network host to which this listener is bound.") public String getHost()
NetworkListener.getHost()
@ManagedAttribute(id="port") @Description(value="The network port to which this listener is bound.") public int getPort()
NetworkListener.getPort()
@ManagedAttribute(id="idle-timeout-in-seconds") @Description(value="The time, in seconds, to keep an inactive request alive.") public int getIdleTimeoutInSeconds()
KeepAlive.getIdleTimeoutInSeconds()
@ManagedAttribute(id="secure") @Description(value="Indicates whether or not this listener is secured via SSL.") public boolean isSecure()
NetworkListener.isSecure()
@ManagedAttribute(id="max-http-header-size") @Description(value="The maximum size, in bytes, an HTTP request may be.") public int getMaxHttpHeaderSize()
NetworkListener.getMaxHttpHeaderSize()
@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()
NetworkListener.getName()
@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()
NetworkListener.isChunkingEnabled()
@ManagedAttribute(id="started") @Description(value="Indicates whether or not this listener is started.") public boolean isStarted()
NetworkListener.isStarted()
@Description(value="Indicates whether or not a started listener is actively processing requests.") @ManagedAttribute(id="paused") public boolean isPaused()
NetworkListener.isPaused()
protected void rebuildSubTree()
Copyright © 2014 Oracle Corporation. All rights reserved.