public class Url extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://xmlns.opennms.org/xsd/config/http-datacollection}parameters" minOccurs="0"/>
</sequence>
<attribute name="method" type="{http://xmlns.opennms.org/xsd/config/http-datacollection}allowed-methods" default="GET" />
<attribute name="http-version" type="{http://xmlns.opennms.org/xsd/config/http-datacollection}allowed-versions" default="1.1" />
<attribute name="user-agent" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="virtual-host" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="scheme" type="{http://www.w3.org/2001/XMLSchema}string" default="http" />
<attribute name="user-info" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="host" type="{http://www.w3.org/2001/XMLSchema}string" default="${ipaddr}" />
<attribute name="port" default="80">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<minInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="query" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fragment" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="matches" type="{http://www.w3.org/2001/XMLSchema}string" default="(.*)" />
<attribute name="response-range" type="{http://www.w3.org/2001/XMLSchema}string" default="100-399" />
<attribute name="canonical-equivalence" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="case-insensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="comments" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="dotall" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="literal" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="multiline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="unicode-case" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="unix-lines" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
canonicalEquivalence |
protected Boolean |
caseInsensitive |
protected Boolean |
comments |
protected Boolean |
dotall |
protected String |
fragment |
protected String |
host |
protected String |
httpVersion |
protected Boolean |
literal |
protected String |
matches |
protected String |
method |
protected Boolean |
multiline |
protected Parameters |
parameters |
protected String |
path |
protected Integer |
port |
protected String |
query |
protected String |
responseRange |
protected String |
scheme |
protected Boolean |
unicodeCase |
protected Boolean |
unixLines |
protected String |
userAgent |
protected String |
userInfo |
protected String |
virtualHost |
| Constructor and Description |
|---|
Url() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getFragment()
Gets the value of the fragment property.
|
String |
getHost()
Gets the value of the host property.
|
String |
getHttpVersion()
Gets the value of the httpVersion property.
|
String |
getMatches()
Gets the value of the matches property.
|
String |
getMethod()
Gets the value of the method property.
|
Parameters |
getParameters()
Gets the value of the parameters property.
|
String |
getPath()
Gets the value of the path property.
|
int |
getPort()
Gets the value of the port property.
|
String |
getQuery()
Gets the value of the query property.
|
String |
getResponseRange()
Gets the value of the responseRange property.
|
String |
getScheme()
Gets the value of the scheme property.
|
String |
getUserAgent()
Gets the value of the userAgent property.
|
String |
getUserInfo()
Gets the value of the userInfo property.
|
String |
getVirtualHost()
Gets the value of the virtualHost property.
|
int |
hashCode() |
boolean |
isCanonicalEquivalence()
Gets the value of the canonicalEquivalence property.
|
boolean |
isCaseInsensitive()
Gets the value of the caseInsensitive property.
|
boolean |
isComments()
Gets the value of the comments property.
|
boolean |
isDotall()
Gets the value of the dotall property.
|
boolean |
isLiteral()
Gets the value of the literal property.
|
boolean |
isMultiline()
Gets the value of the multiline property.
|
boolean |
isUnicodeCase()
Gets the value of the unicodeCase property.
|
boolean |
isUnixLines()
Gets the value of the unixLines property.
|
void |
setCanonicalEquivalence(Boolean value)
Sets the value of the canonicalEquivalence property.
|
void |
setCaseInsensitive(Boolean value)
Sets the value of the caseInsensitive property.
|
void |
setComments(Boolean value)
Sets the value of the comments property.
|
void |
setDotall(Boolean value)
Sets the value of the dotall property.
|
void |
setFragment(String value)
Sets the value of the fragment property.
|
void |
setHost(String value)
Sets the value of the host property.
|
void |
setHttpVersion(String value)
Sets the value of the httpVersion property.
|
void |
setLiteral(Boolean value)
Sets the value of the literal property.
|
void |
setMatches(String value)
Sets the value of the matches property.
|
void |
setMethod(String value)
Sets the value of the method property.
|
void |
setMultiline(Boolean value)
Sets the value of the multiline property.
|
void |
setParameters(Parameters value)
Sets the value of the parameters property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setPort(Integer value)
Sets the value of the port property.
|
void |
setQuery(String value)
Sets the value of the query property.
|
void |
setResponseRange(String value)
Sets the value of the responseRange property.
|
void |
setScheme(String value)
Sets the value of the scheme property.
|
void |
setUnicodeCase(Boolean value)
Sets the value of the unicodeCase property.
|
void |
setUnixLines(Boolean value)
Sets the value of the unixLines property.
|
void |
setUserAgent(String value)
Sets the value of the userAgent property.
|
void |
setUserInfo(String value)
Sets the value of the userInfo property.
|
void |
setVirtualHost(String value)
Sets the value of the virtualHost property.
|
protected Parameters parameters
protected String method
protected String httpVersion
protected String userAgent
protected String virtualHost
protected String scheme
protected String userInfo
protected String host
protected Integer port
protected String path
protected String query
protected String fragment
protected String matches
protected String responseRange
protected Boolean canonicalEquivalence
protected Boolean caseInsensitive
protected Boolean comments
protected Boolean dotall
protected Boolean literal
protected Boolean multiline
protected Boolean unicodeCase
protected Boolean unixLines
public Parameters getParameters()
Parameterspublic void setParameters(Parameters value)
value - allowed object is
Parameterspublic String getMethod()
Stringpublic void setMethod(String value)
value - allowed object is
Stringpublic String getHttpVersion()
Stringpublic void setHttpVersion(String value)
value - allowed object is
Stringpublic String getUserAgent()
Stringpublic void setUserAgent(String value)
value - allowed object is
Stringpublic String getVirtualHost()
Stringpublic void setVirtualHost(String value)
value - allowed object is
Stringpublic String getScheme()
Stringpublic void setScheme(String value)
value - allowed object is
Stringpublic String getUserInfo()
Stringpublic void setUserInfo(String value)
value - allowed object is
Stringpublic String getHost()
Stringpublic void setHost(String value)
value - allowed object is
Stringpublic int getPort()
Integerpublic void setPort(Integer value)
value - allowed object is
Integerpublic String getPath()
Stringpublic void setPath(String value)
value - allowed object is
Stringpublic String getQuery()
Stringpublic void setQuery(String value)
value - allowed object is
Stringpublic String getFragment()
Stringpublic void setFragment(String value)
value - allowed object is
Stringpublic String getMatches()
Stringpublic void setMatches(String value)
value - allowed object is
Stringpublic String getResponseRange()
Stringpublic void setResponseRange(String value)
value - allowed object is
Stringpublic boolean isCanonicalEquivalence()
Booleanpublic void setCanonicalEquivalence(Boolean value)
value - allowed object is
Booleanpublic boolean isCaseInsensitive()
Booleanpublic void setCaseInsensitive(Boolean value)
value - allowed object is
Booleanpublic boolean isComments()
Booleanpublic void setComments(Boolean value)
value - allowed object is
Booleanpublic boolean isDotall()
Booleanpublic void setDotall(Boolean value)
value - allowed object is
Booleanpublic boolean isLiteral()
Booleanpublic void setLiteral(Boolean value)
value - allowed object is
Booleanpublic boolean isMultiline()
Booleanpublic void setMultiline(Boolean value)
value - allowed object is
Booleanpublic boolean isUnicodeCase()
Booleanpublic void setUnicodeCase(Boolean value)
value - allowed object is
Booleanpublic boolean isUnixLines()
Booleanpublic void setUnixLines(Boolean value)
value - allowed object is
BooleanCopyright © 2017. All rights reserved.