Class 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 Detail

      • Page

        public Page()
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object