Class Page
- java.lang.Object
-
- org.opennms.netmgt.config.pagesequence.Page
-
- All Implemented Interfaces:
java.io.Serializable
public class Page extends java.lang.Object implements java.io.Serializable
This element specifies all the possible attributes in as fine grained detail as possible. All that is really required (as you can see below) is the "path" attribute. From that one attribute, the IP address passed in through the ServiceMonitor and ServiceCollector interface, the URL will be fully generated using the supplied defaults in this config. Configure attributes these attributes to the level of detail you need to fully control the behavior.
A little bit of indirection is possible here with the host attribute. If the host attribute is anything other than the default, that value will be used instead of the IP address passed in through the API (Interface).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeader(Header header)
void
addParameter(Parameter parameter)
void
addSessionVariable(SessionVariable sessionVariable)
boolean
equals(java.lang.Object obj)
java.lang.String
getDisableSslVerification()
This element is used to enable or disable SSL host and certificate verification.java.lang.String
getDsName()
java.lang.String
getFailureMatch()
java.lang.String
getFailureMessage()
java.lang.String
getFragment()
java.util.List<Header>
getHeaders()
java.lang.String
getHost()
java.lang.String
getHttpVersion()
java.lang.String
getLocationMatch()
java.lang.String
getMethod()
java.util.List<Parameter>
getParameters()
java.lang.String
getPath()
java.lang.String
getPort()
java.lang.String
getQuery()
java.lang.Boolean
getRequireIPv4()
java.lang.Boolean
getRequireIPv6()
java.lang.String
getResponseRange()
java.lang.String
getScheme()
java.util.List<SessionVariable>
getSessionVariables()
java.lang.String
getSuccessMatch()
java.lang.String
getUserAgent()
java.lang.String
getUserInfo()
java.lang.String
getVirtualHost()
int
hashCode()
boolean
isRequireIPv4()
boolean
isRequireIPv6()
boolean
removeHeader(Header header)
boolean
removeParameter(Parameter parameter)
boolean
removeSessionVariable(SessionVariable sessionVariable)
void
setDisableSslVerification(java.lang.String disableSslVerification)
void
setDsName(java.lang.String dsName)
void
setFailureMatch(java.lang.String failureMatch)
void
setFailureMessage(java.lang.String failureMessage)
void
setFragment(java.lang.String fragment)
void
setHeaders(java.util.List<Header> headers)
void
setHost(java.lang.String host)
void
setHttpVersion(java.lang.String httpVersion)
void
setLocationMatch(java.lang.String locationMatch)
void
setMethod(java.lang.String method)
void
setParameters(java.util.List<Parameter> parameters)
void
setPath(java.lang.String path)
void
setPort(int port)
void
setPort(java.lang.String port)
void
setQuery(java.lang.String query)
void
setRequireIPv4(java.lang.Boolean requireIPv4)
void
setRequireIPv6(java.lang.Boolean requireIPv6)
void
setResponseRange(java.lang.String responseRange)
void
setScheme(java.lang.String scheme)
void
setSessionVariables(java.util.List<SessionVariable> sessionVariables)
void
setSuccessMatch(java.lang.String successMatch)
void
setUserAgent(java.lang.String userAgent)
void
setUserInfo(java.lang.String userInfo)
void
setVirtualHost(java.lang.String virtualHost)
java.lang.String
toString()
-
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
-
setMethod
public void setMethod(java.lang.String method)
-
getHttpVersion
public java.lang.String getHttpVersion()
-
setHttpVersion
public void setHttpVersion(java.lang.String httpVersion)
-
getUserAgent
public java.lang.String getUserAgent()
-
setUserAgent
public void setUserAgent(java.lang.String userAgent)
-
getVirtualHost
public java.lang.String getVirtualHost()
-
setVirtualHost
public void setVirtualHost(java.lang.String virtualHost)
-
getScheme
public java.lang.String getScheme()
-
setScheme
public void setScheme(java.lang.String scheme)
-
getUserInfo
public java.lang.String getUserInfo()
-
setUserInfo
public void setUserInfo(java.lang.String userInfo)
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
getRequireIPv4
public java.lang.Boolean getRequireIPv4()
-
isRequireIPv4
public boolean isRequireIPv4()
-
setRequireIPv4
public void setRequireIPv4(java.lang.Boolean requireIPv4)
-
getRequireIPv6
public java.lang.Boolean getRequireIPv6()
-
isRequireIPv6
public boolean isRequireIPv6()
-
setRequireIPv6
public void setRequireIPv6(java.lang.Boolean requireIPv6)
-
getDisableSslVerification
public java.lang.String getDisableSslVerification()
This element is used to enable or disable SSL host and certificate verification. Default: true (verification is disabled)
-
setDisableSslVerification
public void setDisableSslVerification(java.lang.String disableSslVerification)
-
getPort
public java.lang.String getPort()
-
setPort
public void setPort(java.lang.String port)
-
setPort
public void setPort(int port)
-
getPath
public java.lang.String getPath()
-
setPath
public void setPath(java.lang.String path)
-
getQuery
public java.lang.String getQuery()
-
setQuery
public void setQuery(java.lang.String query)
-
getFragment
public java.lang.String getFragment()
-
setFragment
public void setFragment(java.lang.String fragment)
-
getFailureMatch
public java.lang.String getFailureMatch()
-
setFailureMatch
public void setFailureMatch(java.lang.String failureMatch)
-
getFailureMessage
public java.lang.String getFailureMessage()
-
setFailureMessage
public void setFailureMessage(java.lang.String failureMessage)
-
getSuccessMatch
public java.lang.String getSuccessMatch()
-
setSuccessMatch
public void setSuccessMatch(java.lang.String successMatch)
-
getLocationMatch
public java.lang.String getLocationMatch()
-
setLocationMatch
public void setLocationMatch(java.lang.String locationMatch)
-
getResponseRange
public java.lang.String getResponseRange()
-
setResponseRange
public void setResponseRange(java.lang.String responseRange)
-
getDsName
public java.lang.String getDsName()
-
setDsName
public void setDsName(java.lang.String dsName)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
getHeaders
public java.util.List<Header> getHeaders()
-
setHeaders
public void setHeaders(java.util.List<Header> headers)
-
addHeader
public void addHeader(Header header)
-
removeHeader
public boolean removeHeader(Header header)
-
getSessionVariables
public java.util.List<SessionVariable> getSessionVariables()
-
setSessionVariables
public void setSessionVariables(java.util.List<SessionVariable> sessionVariables)
-
addSessionVariable
public void addSessionVariable(SessionVariable sessionVariable) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeSessionVariable
public boolean removeSessionVariable(SessionVariable sessionVariable)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-