|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.http.HttpMethod
org.sblim.cimclient.internal.http.HttpClientMethod
public class HttpClientMethod
Class HttpClientMethod encapsulates a http client method
Constructor Summary | |
---|---|
HttpClientMethod(InputStream pReader)
Ctor. |
|
HttpClientMethod(String pMethod,
String pRequest,
int pMajor,
int pMinor)
Ctor. |
Method Summary | |
---|---|
int |
getMajorVersion()
Returns the major version |
String |
getMethodName()
Returns the method name |
int |
getMinorVersion()
Returns the minor version |
String |
getResponseMessage()
Returns the response message |
int |
getStatus()
Return the status |
String |
toString()
|
void |
write(ASCIIPrintStream pStream)
Writes the method to a given stream |
Methods inherited from class org.sblim.cimclient.internal.http.HttpMethod |
---|
readLine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpClientMethod(String pMethod, String pRequest, int pMajor, int pMinor)
pMethod
- The methodpRequest
- The requestpMajor
- The major versionpMinor
- The minor versionpublic HttpClientMethod(InputStream pReader) throws IOException
pReader
- The input stream
IOException
Method Detail |
---|
public int getMajorVersion()
public int getMinorVersion()
public String getMethodName()
public int getStatus()
public void write(ASCIIPrintStream pStream)
pStream
- The streampublic String getResponseMessage()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |