public class HttpClientMethod extends HttpMethod
Constructor and Description |
---|
HttpClientMethod(InputStream pReader)
Ctor.
|
HttpClientMethod(String pMethod,
String pRequest,
int pMajor,
int pMinor)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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
|
readLine
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 streamIOException
public int getMajorVersion()
public int getMinorVersion()
public String getMethodName()
public int getStatus()
public void write(ASCIIPrintStream pStream)
pStream
- The streampublic String getResponseMessage()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.