public class HttpServerMethod extends HttpMethod
Constructor | Description |
---|---|
HttpServerMethod(int pMajor,
int pMinor,
int pStatus,
java.lang.String pReason) |
Ctor.
|
HttpServerMethod(java.io.InputStream pReader) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getFile() |
Returns the file
|
int |
getMajorVersion() |
Returns the major version
|
java.lang.String |
getMethodName() |
Returns the method name
|
int |
getMinorVersion() |
Returns the minor version
|
void |
write(ASCIIPrintStream pStream) |
Write to a given output stream
|
readLine
public HttpServerMethod(int pMajor, int pMinor, int pStatus, java.lang.String pReason)
pMajor
- Major versionpMinor
- Minor versionpStatus
- StatuspReason
- Reasonpublic HttpServerMethod(java.io.InputStream pReader) throws java.io.IOException, HttpException
pReader
- Inputstreamjava.io.IOException
HttpException
public int getMajorVersion()
public int getMinorVersion()
public java.lang.String getMethodName()
public java.lang.String getFile()
public void write(ASCIIPrintStream pStream)
pStream
- the output streamCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.