Class Url

  • All Implemented Interfaces:
    java.io.Serializable

    public class Url
    extends java.lang.Object
    implements java.io.Serializable

    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>
     
    See Also:
    Serialized Form
    • Field Detail

      • m_parameters

        protected java.util.List<Parameter> m_parameters
      • m_method

        protected java.lang.String m_method
      • m_httpVersion

        protected java.lang.String m_httpVersion
      • m_userAgent

        protected java.lang.String m_userAgent
      • m_virtualHost

        protected java.lang.String m_virtualHost
      • m_scheme

        protected java.lang.String m_scheme
      • m_userInfo

        protected java.lang.String m_userInfo
      • m_host

        protected java.lang.String m_host
      • m_port

        protected java.lang.Integer m_port
      • m_path

        protected java.lang.String m_path
      • m_query

        protected java.lang.String m_query
      • m_fragment

        protected java.lang.String m_fragment
      • m_matches

        protected java.lang.String m_matches
      • m_responseRange

        protected java.lang.String m_responseRange
      • m_canonicalEquivalence

        protected java.lang.Boolean m_canonicalEquivalence
      • m_caseInsensitive

        protected java.lang.Boolean m_caseInsensitive
      • m_comments

        protected java.lang.Boolean m_comments
      • m_dotall

        protected java.lang.Boolean m_dotall
      • m_literal

        protected java.lang.Boolean m_literal
      • m_multiline

        protected java.lang.Boolean m_multiline
      • m_unicodeCase

        protected java.lang.Boolean m_unicodeCase
      • m_unixLines

        protected java.lang.Boolean m_unixLines
    • Constructor Detail

      • Url

        public Url()
    • Method Detail

      • getParameters

        public java.util.List<Parameter> getParameters()
      • setParameters

        public void setParameters​(java.util.List<Parameter> value)
      • getMethod

        public java.lang.String getMethod()
      • setMethod

        public void setMethod​(java.lang.String value)
      • getHttpVersion

        public java.lang.String getHttpVersion()
      • setHttpVersion

        public void setHttpVersion​(java.lang.String value)
      • getUserAgent

        public java.util.Optional<java.lang.String> getUserAgent()
      • setUserAgent

        public void setUserAgent​(java.lang.String value)
      • getVirtualHost

        public java.util.Optional<java.lang.String> getVirtualHost()
      • setVirtualHost

        public void setVirtualHost​(java.lang.String value)
      • getScheme

        public java.lang.String getScheme()
      • setScheme

        public void setScheme​(java.lang.String value)
      • getUserInfo

        public java.util.Optional<java.lang.String> getUserInfo()
      • setUserInfo

        public void setUserInfo​(java.lang.String value)
      • getHost

        public java.lang.String getHost()
      • setHost

        public void setHost​(java.lang.String value)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(java.lang.Integer value)
      • getPath

        public java.lang.String getPath()
      • setPath

        public void setPath​(java.lang.String value)
      • getQuery

        public java.util.Optional<java.lang.String> getQuery()
      • setQuery

        public void setQuery​(java.lang.String value)
      • getFragment

        public java.util.Optional<java.lang.String> getFragment()
      • setFragment

        public void setFragment​(java.lang.String value)
      • getMatches

        public java.lang.String getMatches()
      • setMatches

        public void setMatches​(java.lang.String value)
      • getResponseRange

        public java.lang.String getResponseRange()
      • setResponseRange

        public void setResponseRange​(java.lang.String value)
      • isCanonicalEquivalence

        public boolean isCanonicalEquivalence()
      • setCanonicalEquivalence

        public void setCanonicalEquivalence​(java.lang.Boolean value)
      • isCaseInsensitive

        public boolean isCaseInsensitive()
      • setCaseInsensitive

        public void setCaseInsensitive​(java.lang.Boolean value)
      • isComments

        public boolean isComments()
      • setComments

        public void setComments​(java.lang.Boolean value)
      • isDotall

        public boolean isDotall()
      • setDotall

        public void setDotall​(java.lang.Boolean value)
      • isLiteral

        public boolean isLiteral()
      • setLiteral

        public void setLiteral​(java.lang.Boolean value)
      • isMultiline

        public boolean isMultiline()
      • setMultiline

        public void setMultiline​(java.lang.Boolean value)
      • isUnicodeCase

        public boolean isUnicodeCase()
      • setUnicodeCase

        public void setUnicodeCase​(java.lang.Boolean value)
      • isUnixLines

        public boolean isUnixLines()
      • setUnixLines

        public void setUnixLines​(java.lang.Boolean value)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object