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()
Parameters
public void setParameters(Parameters value)
value
- allowed object is
Parameters
public String getMethod()
String
public void setMethod(String value)
value
- allowed object is
String
public String getHttpVersion()
String
public void setHttpVersion(String value)
value
- allowed object is
String
public String getUserAgent()
String
public void setUserAgent(String value)
value
- allowed object is
String
public String getVirtualHost()
String
public void setVirtualHost(String value)
value
- allowed object is
String
public String getScheme()
String
public void setScheme(String value)
value
- allowed object is
String
public String getUserInfo()
String
public void setUserInfo(String value)
value
- allowed object is
String
public String getHost()
String
public void setHost(String value)
value
- allowed object is
String
public int getPort()
Integer
public void setPort(Integer value)
value
- allowed object is
Integer
public String getPath()
String
public void setPath(String value)
value
- allowed object is
String
public String getQuery()
String
public void setQuery(String value)
value
- allowed object is
String
public String getFragment()
String
public void setFragment(String value)
value
- allowed object is
String
public String getMatches()
String
public void setMatches(String value)
value
- allowed object is
String
public String getResponseRange()
String
public void setResponseRange(String value)
value
- allowed object is
String
public boolean isCanonicalEquivalence()
Boolean
public void setCanonicalEquivalence(Boolean value)
value
- allowed object is
Boolean
public boolean isCaseInsensitive()
Boolean
public void setCaseInsensitive(Boolean value)
value
- allowed object is
Boolean
public boolean isComments()
Boolean
public void setComments(Boolean value)
value
- allowed object is
Boolean
public boolean isDotall()
Boolean
public void setDotall(Boolean value)
value
- allowed object is
Boolean
public boolean isLiteral()
Boolean
public void setLiteral(Boolean value)
value
- allowed object is
Boolean
public boolean isMultiline()
Boolean
public void setMultiline(Boolean value)
value
- allowed object is
Boolean
public boolean isUnicodeCase()
Boolean
public void setUnicodeCase(Boolean value)
value
- allowed object is
Boolean
public boolean isUnixLines()
Boolean
public void setUnixLines(Boolean value)
value
- allowed object is
Boolean
Copyright © 2017. All rights reserved.