org.jmonit.features
Class HttpStatus

java.lang.Object
  extended by org.jmonit.features.AbstractFeature<HttpStatus>
      extended by org.jmonit.features.HttpStatus
All Implemented Interfaces:
MonitoringEventListener, Visitable, Plugin<HttpStatus>

public class HttpStatus
extends AbstractFeature<HttpStatus>
implements Visitable, MonitoringEventListener

Author:
ndeloof

Field Summary
static Factory<HttpStatus> FACTORY
           
 
Constructor Summary
HttpStatus()
           
 
Method Summary
 void accept(Visitor visitor)
          Entry point for an object that accepts visitors.
 void clear()
           
 HttpStatus getFeature()
          A feature is identified by the class it exposes to the monitored application.
 void onMonitoringEvent(MonitoringEvent event)
          A monitoring event occured and has been dispatched on the bus
 void setHttpStatus(int sc)
           
 
Methods inherited from class org.jmonit.features.AbstractFeature
fireMonitoringEvent, getFeature, setMonitor, setMonitoringEventBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

public static final Factory<HttpStatus> FACTORY
Constructor Detail

HttpStatus

public HttpStatus()
Method Detail

onMonitoringEvent

public void onMonitoringEvent(MonitoringEvent event)
A monitoring event occured and has been dispatched on the bus

Specified by:
onMonitoringEvent in interface MonitoringEventListener
See Also:
MonitoringEventListener.onMonitoringEvent(org.jmonit.events.MonitoringEvent)

setHttpStatus

public void setHttpStatus(int sc)

clear

public void clear()

getFeature

public HttpStatus getFeature()
A feature is identified by the class it exposes to the monitored application.

Specified by:
getFeature in interface Plugin<HttpStatus>
Returns:
the public API of this feature
See Also:
Plugin.getFeature()

accept

public void accept(Visitor visitor)
Entry point for an object that accepts visitors.

Specified by:
accept in interface Visitable
See Also:
Visitable.accept(org.jmonit.reporting.Visitor)


Copyright © 2007 Nicolas De Loof. All Rights Reserved.