|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.http.MessageReader
public class MessageReader
Class MessageReader is responsible for reading http messages
Constructor Summary | |
---|---|
MessageReader(java.io.InputStream pStream)
Ctor. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageReader(java.io.InputStream pStream) throws java.io.IOException, HttpException
pStream
- The input stream
java.io.IOException
HttpException
Method Detail |
---|
public 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.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |