|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beepcore.beep.core.OutputDataStream
OutputDataStream
represents a BEEP message's payload as a
stream.
Field Summary | |
protected MimeHeaders |
mimeHeaders
|
Constructor Summary | |
OutputDataStream()
Creates an OutputDataStream without any mime
headers. |
|
OutputDataStream(MimeHeaders headers)
Creates an OutputDataStream using the specified
mime headers. |
|
OutputDataStream(MimeHeaders headers,
BufferSegment buf)
Creates an OutputDataStream using the specified
mime headers. |
Method Summary | |
void |
add(BufferSegment segment)
|
void |
close()
Deprecated. |
boolean |
isComplete()
Returns true if no more bytes will be added to
those currently available on this stream. |
void |
setComplete()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final MimeHeaders mimeHeaders
Constructor Detail |
public OutputDataStream()
OutputDataStream
without any mime
headers. It is the responsibility of the application to ensure
the mime headers exist in the first BufferSegment
added.
public OutputDataStream(MimeHeaders headers)
OutputDataStream
using the specified
mime headers.
headers
- Mime headers to be prepended to the buffers in
the stream.public OutputDataStream(MimeHeaders headers, BufferSegment buf)
OutputDataStream
using the specified
mime headers.
headers
- Mime headers to be prepended to the buffers in
the stream.Method Detail |
public void add(BufferSegment segment)
public void close()
public boolean isComplete()
true
if no more bytes will be added to
those currently available on this stream. Returns
false
if more bytes are expected.
public void setComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |