Class HttpServerMethod
java.lang.Object
org.sblim.cimclient.internal.http.HttpMethod
org.sblim.cimclient.internal.http.HttpServerMethod
Class HttpServerMethod is responsible for
-
Constructor Summary
ConstructorsConstructorDescriptionHttpServerMethod(int pMajor, int pMinor, int pStatus, String pReason) Ctor.HttpServerMethod(InputStream pReader) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetFile()Returns the fileintReturns the major versionReturns the method nameintReturns the minor versionvoidwrite(ASCIIPrintStream pStream) Write to a given output streamMethods inherited from class HttpMethod
readLine
-
Constructor Details
-
HttpServerMethod
Ctor.- Parameters:
pMajor- Major versionpMinor- Minor versionpStatus- StatuspReason- Reason
-
HttpServerMethod
Ctor.- Parameters:
pReader- Inputstream- Throws:
IOExceptionHttpException
-
-
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
-
getFile
-
write
Write to a given output stream- Parameters:
pStream- the output stream
-