Class HttpServerMethod


  • public class HttpServerMethod
    extends HttpMethod
    Class HttpServerMethod is responsible for
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpServerMethod​(int pMajor, int pMinor, int pStatus, java.lang.String pReason)
      Ctor.
      HttpServerMethod​(java.io.InputStream pReader)
      Ctor.
    • Constructor Detail

      • HttpServerMethod

        public HttpServerMethod​(int pMajor,
                                int pMinor,
                                int pStatus,
                                java.lang.String pReason)
        Ctor.
        Parameters:
        pMajor - Major version
        pMinor - Minor version
        pStatus - Status
        pReason - Reason
      • HttpServerMethod

        public HttpServerMethod​(java.io.InputStream pReader)
                         throws java.io.IOException,
                                HttpException
        Ctor.
        Parameters:
        pReader - Inputstream
        Throws:
        java.io.IOException
        HttpException
    • Method Detail

      • getMajorVersion

        public int getMajorVersion()
        Returns the major version
        Returns:
        The major version
      • getMinorVersion

        public int getMinorVersion()
        Returns the minor version
        Returns:
        The minor version
      • getMethodName

        public java.lang.String getMethodName()
        Returns the method name
        Returns:
        The method name
      • getFile

        public java.lang.String getFile()
        Returns the file
        Returns:
        The file
      • write

        public void write​(ASCIIPrintStream pStream)
        Write to a given output stream
        Parameters:
        pStream - the output stream