org.opennms.netmgt.poller.monitors
Class HttpsMonitor
java.lang.Object
org.opennms.netmgt.poller.monitors.AbstractServiceMonitor
org.opennms.netmgt.poller.monitors.HttpMonitor
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
| 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 |
| Methods inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor |
poll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsMonitor
public HttpsMonitor()
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.