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 Summary
Constructors Constructor Description HttpServerMethod(int pMajor, int pMinor, int pStatus, java.lang.String pReason)Ctor.HttpServerMethod(java.io.InputStream pReader)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFile()Returns the fileintgetMajorVersion()Returns the major versionjava.lang.StringgetMethodName()Returns the method nameintgetMinorVersion()Returns the minor versionvoidwrite(ASCIIPrintStream pStream)Write to a given output stream-
Methods inherited from class org.sblim.cimclient.internal.http.HttpMethod
readLine
-
-
-
-
Constructor Detail
-
HttpServerMethod
public HttpServerMethod(int pMajor, int pMinor, int pStatus, java.lang.String pReason)Ctor.- Parameters:
pMajor- Major versionpMinor- Minor versionpStatus- StatuspReason- Reason
-
HttpServerMethod
public HttpServerMethod(java.io.InputStream pReader) throws java.io.IOException, HttpExceptionCtor.- Parameters:
pReader- Inputstream- Throws:
java.io.IOExceptionHttpException
-
-
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
-
-