public class MessageReader
extends java.lang.Object
| Constructor and Description |
|---|
MessageReader(java.io.InputStream pStream)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream
|
java.lang.String |
getCharacterEncoding()
Returns the character encoding
|
HttpHeader |
getHeader()
Returns the http header
|
java.io.InputStream |
getInputStream()
Returns the input stream
|
HttpServerMethod |
getMethod()
Returns the http server method
|
boolean |
isChunkSupported()
Returns the chunking support state
|
boolean |
isPersistentConnectionSupported()
Returns the persistent connection support state
|
public MessageReader(java.io.InputStream pStream)
throws java.io.IOException,
HttpException
pStream - The input streamjava.io.IOExceptionHttpExceptionpublic java.lang.String getCharacterEncoding()
public HttpHeader getHeader()
public HttpServerMethod getMethod()
public java.io.InputStream getInputStream()
public boolean isPersistentConnectionSupported()
true if persistent connection is supportedpublic boolean isChunkSupported()
true if chunking is supportedpublic void close()
throws java.io.IOException
java.io.IOExceptionCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.