|
||||||||||
| 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(java.io.InputStream pReader)
Ctor. |
|
HttpClientMethod(java.lang.String pMethod,
java.lang.String pRequest,
int pMajor,
int pMinor)
Ctor. |
|
| Method Summary | |
|---|---|
int |
getMajorVersion()
Returns the major version |
java.lang.String |
getMethodName()
Returns the method name |
int |
getMinorVersion()
Returns the minor version |
java.lang.String |
getResponseMessage()
Returns the response message |
int |
getStatus()
Return the status |
java.lang.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(java.lang.String pMethod,
java.lang.String pRequest,
int pMajor,
int pMinor)
pMethod - The methodpRequest - The requestpMajor - The major versionpMinor - The minor version
public HttpClientMethod(java.io.InputStream pReader)
throws java.io.IOException
pReader - The input stream
java.io.IOException| Method Detail |
|---|
public int getMajorVersion()
public int getMinorVersion()
public java.lang.String getMethodName()
public int getStatus()
public void write(ASCIIPrintStream pStream)
pStream - The streampublic java.lang.String getResponseMessage()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||