Class HTTPResponseParser


  • public class HTTPResponseParser
    extends HTTPParser
    • Field Detail

      • _httpType

        protected java.lang.String _httpType
      • _httpCode

        protected int _httpCode
      • _httpMsg

        protected java.lang.String _httpMsg
    • Constructor Detail

      • HTTPResponseParser

        public HTTPResponseParser​(java.io.InputStream is)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
      • getStatusCode

        public int getStatusCode()
      • isOK

        public boolean isOK()
      • parseHead

        public void parseHead​(java.lang.String line)
                       throws java.io.IOException
        Specified by:
        parseHead in class HTTPParser
        Throws:
        java.io.IOException