Class HttpMethod

  • Direct Known Subclasses:
    HttpClientMethod, HttpServerMethod

    public abstract class HttpMethod
    extends java.lang.Object
    Class HttpMethod provides a method to read a line from a given input stream
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpMethod()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String readLine​(java.io.InputStream pStream)
      Reads a line from a given input stream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpMethod

        public HttpMethod()
    • Method Detail

      • readLine

        public static java.lang.String readLine​(java.io.InputStream pStream)
                                         throws java.io.IOException
        Reads a line from a given input stream
        Parameters:
        pStream - The input stream
        Returns:
        The line
        Throws:
        java.io.IOException