|
||||||||||
| 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(InputStream pStream,
int pTimeout)
Ctor. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageReader(InputStream pStream,
int pTimeout)
throws IOException,
HttpException
pStream - The input streampTimeout - The timeout for reading in entire header
IOException
HttpException| Method Detail |
|---|
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 supported
public void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||