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, java.lang.String pReason) Ctor.HttpServerMethod
(java.io.InputStream pReader) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.String
getFile()
Returns the fileint
Returns the major versionjava.lang.String
Returns the method nameint
Returns the minor versionvoid
write
(ASCIIPrintStream pStream) Write to a given output streamMethods 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 Details
-
HttpServerMethod
public HttpServerMethod(int pMajor, int pMinor, int pStatus, java.lang.String pReason) Ctor.- Parameters:
pMajor
- Major versionpMinor
- Minor versionpStatus
- StatuspReason
- Reason
-
HttpServerMethod
Ctor.- Parameters:
pReader
- Inputstream- Throws:
java.io.IOException
HttpException
-
-
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
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
Write to a given output stream- Parameters:
pStream
- the output stream
-