Class Page

  • All Implemented Interfaces:
    Serializable

    public class Page
    extends Object
    implements 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 String getMethod()
      • setMethod

        public void setMethod​(String method)
      • getHttpVersion

        public String getHttpVersion()
      • setHttpVersion

        public void setHttpVersion​(String httpVersion)
      • getUserAgent

        public String getUserAgent()
      • setUserAgent

        public void setUserAgent​(String userAgent)
      • getVirtualHost

        public String getVirtualHost()
      • setVirtualHost

        public void setVirtualHost​(String virtualHost)
      • getScheme

        public String getScheme()
      • setScheme

        public void setScheme​(String scheme)
      • getUserInfo

        public String getUserInfo()
      • setUserInfo

        public void setUserInfo​(String userInfo)
      • getHost

        public String getHost()
      • setHost

        public void setHost​(String host)
      • getRequireIPv4

        public Boolean getRequireIPv4()
      • isRequireIPv4

        public boolean isRequireIPv4()
      • setRequireIPv4

        public void setRequireIPv4​(Boolean requireIPv4)
      • getRequireIPv6

        public Boolean getRequireIPv6()
      • isRequireIPv6

        public boolean isRequireIPv6()
      • setRequireIPv6

        public void setRequireIPv6​(Boolean requireIPv6)
      • getDisableSslVerification

        public String getDisableSslVerification()
        This element is used to enable or disable SSL host and certificate verification. Default: true (verification is disabled)
      • setDisableSslVerification

        public void setDisableSslVerification​(String disableSslVerification)
      • getPort

        public String getPort()
      • setPort

        public void setPort​(String port)
      • setPort

        public void setPort​(int port)
      • getPath

        public String getPath()
      • setPath

        public void setPath​(String path)
      • getQuery

        public String getQuery()
      • setQuery

        public void setQuery​(String query)
      • getFragment

        public String getFragment()
      • setFragment

        public void setFragment​(String fragment)
      • getFailureMatch

        public String getFailureMatch()
      • setFailureMatch

        public void setFailureMatch​(String failureMatch)
      • getFailureMessage

        public String getFailureMessage()
      • setFailureMessage

        public void setFailureMessage​(String failureMessage)
      • getSuccessMatch

        public String getSuccessMatch()
      • setSuccessMatch

        public void setSuccessMatch​(String successMatch)
      • getLocationMatch

        public String getLocationMatch()
      • setLocationMatch

        public void setLocationMatch​(String locationMatch)
      • getResponseRange

        public String getResponseRange()
      • setResponseRange

        public void setResponseRange​(String responseRange)
      • getDsName

        public String getDsName()
      • setDsName

        public void setDsName​(String dsName)
      • setParameters

        public void setParameters​(List<Parameter> parameters)
      • removeParameter

        public boolean removeParameter​(Parameter parameter)
      • setHeaders

        public void setHeaders​(List<Header> headers)
      • addHeader

        public void addHeader​(Header header)
      • removeHeader

        public boolean removeHeader​(Header header)
      • setSessionVariables

        public void setSessionVariables​(List<SessionVariable> sessionVariables)
      • removeSessionVariable

        public boolean removeSessionVariable​(SessionVariable sessionVariable)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object