|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.http.MessageWriter
public class MessageWriter
Class MessageWriter is responsible for creating http messages
| Constructor Summary | |
|---|---|
MessageWriter(java.io.OutputStream pStream,
boolean pPersistent,
boolean pChunked)
Ctor. |
|
| Method Summary | |
|---|---|
void |
close()
Write the message and flushes the streams |
HttpHeader |
getHeader()
Returns the http header |
HttpServerMethod |
getMethod()
Returns the http server method |
ASCIIPrintStream |
getOutputStream()
Returns the output stream |
void |
reset()
Resets the stream |
void |
setHeader(HttpHeader header)
Sets the http header |
void |
setMethod(HttpServerMethod method)
Sets the http server method |
void |
setTrailer(HttpHeader pTrailer)
Sets the trailer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageWriter(java.io.OutputStream pStream,
boolean pPersistent,
boolean pChunked)
pStream - pPersistent - pChunked - | Method Detail |
|---|
public void reset()
public void setHeader(HttpHeader header)
header - The new valuepublic void setMethod(HttpServerMethod method)
method - The new valuepublic HttpHeader getHeader()
public HttpServerMethod getMethod()
public ASCIIPrintStream getOutputStream()
public void close()
throws java.io.IOException
java.io.IOExceptionpublic void setTrailer(HttpHeader pTrailer)
pTrailer - The new value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||