org.sblim.cimclient.internal.http

Class HttpServerMethod

public class HttpServerMethod extends HttpMethod

Class HttpServerMethod is responsible for
Constructor Summary
HttpServerMethod(int pMajor, int pMinor, int pStatus, String pReason)
Ctor.
HttpServerMethod(InputStream pReader)
Ctor.
Method Summary
StringgetFile()
Returns the file
intgetMajorVersion()
Returns the major version
StringgetMethodName()
Returns the method name
intgetMinorVersion()
Returns the minor version
voidwrite(ASCIIPrintStream pStream)
Write to a given output stream

Constructor Detail

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)
Ctor.

Parameters: pReader Inputstream

Throws: IOException HttpException

Method Detail

getFile

public String getFile()
Returns the file

Returns: The file

getMajorVersion

public int getMajorVersion()
Returns the major version

Returns: The major version

getMethodName

public String getMethodName()
Returns the method name

Returns: The method name

getMinorVersion

public int getMinorVersion()
Returns the minor version

Returns: The minor version

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.