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).
Constructor and Description |
---|
Page() |
public String getMethod()
public void setMethod(String method)
public String getHttpVersion()
public void setHttpVersion(String httpVersion)
public String getUserAgent()
public void setUserAgent(String userAgent)
public String getVirtualHost()
public void setVirtualHost(String virtualHost)
public String getScheme()
public void setScheme(String scheme)
public String getUserInfo()
public void setUserInfo(String userInfo)
public String getHost()
public void setHost(String host)
public Boolean getRequireIPv4()
public boolean isRequireIPv4()
public void setRequireIPv4(Boolean requireIPv4)
public Boolean getRequireIPv6()
public boolean isRequireIPv6()
public void setRequireIPv6(Boolean requireIPv6)
public String getDisableSslVerification()
public void setDisableSslVerification(String disableSslVerification)
public Integer getPort()
public void setPort(Integer port)
public String getPath()
public void setPath(String path)
public String getQuery()
public void setQuery(String query)
public String getFragment()
public void setFragment(String fragment)
public String getFailureMatch()
public void setFailureMatch(String failureMatch)
public String getFailureMessage()
public void setFailureMessage(String failureMessage)
public String getSuccessMatch()
public void setSuccessMatch(String successMatch)
public String getLocationMatch()
public void setLocationMatch(String locationMatch)
public String getResponseRange()
public void setResponseRange(String responseRange)
public String getDsName()
public void setDsName(String dsName)
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeParameter(Parameter parameter)
public void addHeader(Header header)
public boolean removeHeader(Header header)
public List<SessionVariable> getSessionVariables()
public void setSessionVariables(List<SessionVariable> sessionVariables)
public void addSessionVariable(SessionVariable sessionVariable) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeSessionVariable(SessionVariable sessionVariable)
Copyright © 2021. All rights reserved.