org.opennms.netmgt.poller.monitors
Class HttpsMonitor

java.lang.Object
  extended by org.opennms.netmgt.poller.monitors.AbstractServiceMonitor
      extended by org.opennms.netmgt.poller.monitors.HttpMonitor
          extended by org.opennms.netmgt.poller.monitors.HttpsMonitor
All Implemented Interfaces:
ServiceMonitor

@Distributable
public final class HttpsMonitor
extends HttpMonitor

This class is designed to be used by the service poller framework to test the availability of the HTTPS service on remote interfaces. The class implements the ServiceMonitor interface that allows it to be used along with other plug-ins by the service poller framework.

Author:
David Hustace , Tarus Balog , Jason

Field Summary
 
Fields inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor
PARAMETER_BASIC_AUTHENTICATION, PARAMETER_HOST_NAME, PARAMETER_NODE_LABEL_HOST_NAME, PARAMETER_PASSWORD, PARAMETER_PORT, PARAMETER_RESOLVE_IP, PARAMETER_RESPONSE, PARAMETER_RESPONSE_TEXT, PARAMETER_URL, PARAMETER_USER, PARAMETER_USER_AGENT, PARAMETER_VERBOSE
 
Constructor Summary
HttpsMonitor()
           
 
Method Summary
protected  int[] determinePorts(Map<String,Object> parameters)
          determinePorts
protected  Socket wrapSocket(Socket socket)
          wrapSocket
 
Methods inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor
poll
 
Methods inherited from class org.opennms.netmgt.poller.monitors.AbstractServiceMonitor
initialize, initialize, log, logDown, logDown, logUp, release, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsMonitor

public HttpsMonitor()
Method Detail

determinePorts

protected int[] determinePorts(Map<String,Object> parameters)

determinePorts

Overrides:
determinePorts in class HttpMonitor
Parameters:
parameters - a Map object.
Returns:
an array of int.

wrapSocket

protected Socket wrapSocket(Socket socket)
                     throws IOException

wrapSocket

Overrides:
wrapSocket in class HttpMonitor
Parameters:
socket - a Socket object.
Returns:
a Socket object.
Throws:
IOException - if any.


Copyright © 2011. All Rights Reserved.