org.sblim.cimclient.internal.http
Class HttpServerMethod

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

public class HttpServerMethod
extends HttpMethod

Class HttpServerMethod is responsible for


Constructor Summary
HttpServerMethod(java.io.InputStream pReader)
          Ctor.
HttpServerMethod(int pMajor, int pMinor, int pStatus, java.lang.String pReason)
          Ctor.
 
Method Summary
 java.lang.String getFile()
          Returns the file
 int getMajorVersion()
          Returns the major version
 java.lang.String getMethodName()
          Returns the method name
 int getMinorVersion()
          Returns the minor version
 void write(ASCIIPrintStream pStream)
          Write to a given output stream
 
Methods inherited from class org.sblim.cimclient.internal.http.HttpMethod
readLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.