public class HttpClientMethod extends HttpMethod
| Constructor and Description |
|---|
HttpClientMethod(java.io.InputStream pReader)
Ctor.
|
HttpClientMethod(java.lang.String pMethod,
java.lang.String pRequest,
int pMajor,
int pMinor)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
readLinepublic HttpClientMethod(java.lang.String pMethod,
java.lang.String pRequest,
int pMajor,
int pMinor)
pMethod - The methodpRequest - The requestpMajor - The major versionpMinor - The minor versionpublic HttpClientMethod(java.io.InputStream pReader)
throws java.io.IOException
pReader - The input streamjava.io.IOExceptionpublic 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.ObjectCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.