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.String
getFile()
Returns the fileint
getMajorVersion()
Returns the major versionjava.lang.String
getMethodName()
Returns the method nameint
getMinorVersion()
Returns the minor versionvoid
write(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, 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
-
-