Class HttpServerMethod

java.lang.Object
org.sblim.cimclient.internal.http.HttpMethod
org.sblim.cimclient.internal.http.HttpServerMethod

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

    • HttpServerMethod

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

      public HttpServerMethod(InputStream pReader) throws IOException, HttpException
      Ctor.
      Parameters:
      pReader - Inputstream
      Throws:
      IOException
      HttpException
  • Method Details

    • 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 String getMethodName()
      Returns the method name
      Returns:
      The method name
    • getFile

      public 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