Class Status

    • Constructor Detail

      • Status

        public Status​(int code)
      • Status

        public Status​(java.lang.String version,
                      int code,
                      java.lang.String phrase)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • toXml

        public org.w3c.dom.Element toXml​(org.w3c.dom.Document document)
        Description copied from interface: XmlSerializable
        Returns the xml representation of the implementing object as Element. The given Document is used as factory and represents the owner document of the returned DOM element.
        Specified by:
        toXml in interface XmlSerializable
        Parameters:
        document - to be used as factory.
        Returns:
        a w3c element representing this object
        See Also:
        XmlSerializable.toXml(Document)
      • parse

        public static Status parse​(java.lang.String statusLine)
        Parse the given status line and return a new Status object.
        Parameters:
        statusLine -
        Returns:
        a new Status