Enhydra 5.1 API

org.enhydra.servlet.connectionMethods
Class ChannelStatus

java.lang.Object
  |
  +--org.enhydra.servlet.connectionMethods.ChannelStatus

public class ChannelStatus
extends java.lang.Object

ConnectionMethods return this object, which describes the current status of a channel in a ConnectionMethod. Do not modify the contents of this structure. Only ConnectionMethods should create instances of this object.

Author:
Andy John
See Also:
ConnectionMethod, Filter

Field Summary
 java.util.Date createTime
          The time when the channel was added to the connection method.
 boolean enabled
          Is this channel enabled? If not, requests will be refused, and not passed on the Servlet.
 java.util.Date enabledDisabledTime
          The time when this channel was most recently enabled or disabled.
 java.lang.String[] filterIDs
          All the Filters currently applied to this channel.
 long requestCount
          The number of requests sent through this channel to the Servlet.
 java.lang.String servletID
          This is the Servlet this channel should send requests to.
 java.lang.String URLPrefix
          If the requested URL starts with this string, it is sent to the Servlet identified in this channel.
 
Constructor Summary
ChannelStatus()
          Constructor
ChannelStatus(Channel channel)
          Constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URLPrefix

public java.lang.String URLPrefix
If the requested URL starts with this string, it is sent to the Servlet identified in this channel.


servletID

public java.lang.String servletID
This is the Servlet this channel should send requests to. This name is only valid in the ServletManager passed into the ConnectionManager's initialize() function.


enabled

public boolean enabled
Is this channel enabled? If not, requests will be refused, and not passed on the Servlet.


requestCount

public long requestCount
The number of requests sent through this channel to the Servlet.


filterIDs

public java.lang.String[] filterIDs
All the Filters currently applied to this channel.

See Also:
Filter

createTime

public java.util.Date createTime
The time when the channel was added to the connection method.


enabledDisabledTime

public java.util.Date enabledDisabledTime
The time when this channel was most recently enabled or disabled. When the channel is first created, it is disabled, and this is set to the same value as createTime.

Constructor Detail

ChannelStatus

public ChannelStatus()
Constructor


ChannelStatus

public ChannelStatus(Channel channel)
Constructor

Parameters:
channel - A channel to get the current status from.

Enhydra 5.1 API