public class MessageReader extends Object
Constructor and Description |
---|
MessageReader(InputStream pStream)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream
|
String |
getCharacterEncoding()
Returns the character encoding
|
HttpHeader |
getHeader()
Returns the http header
|
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(InputStream pStream) throws IOException, HttpException
pStream
- The input streamIOException
HttpException
public String getCharacterEncoding()
public HttpHeader getHeader()
public HttpServerMethod getMethod()
public InputStream getInputStream()
public boolean isPersistentConnectionSupported()
true
if persistent connection is supportedpublic boolean isChunkSupported()
true
if chunking is supportedpublic void close() throws IOException
IOException
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.