|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.filter.MessageBase
com.sun.grizzly.filter.InputStreamMessage
public class InputStreamMessage
Gives an Message an RemoteInputStream so that clients can retrieve the Message Payload
by getting this Message InputStream.
When parsing a Message CustomProtocolParser will by calling
addByteBuffer(java.nio.ByteBuffer) to add Payload to this Message. If this Message is expecting
further Payload bytes MessageDispatcher will keep on adding Fragments until
End-Fragment is read in.
When this Message has all its bytes read in allDataParsed() will be called to signal EOF to the Inputstream.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sun.grizzly.filter.Message |
|---|
Message.ErrorCode |
| Field Summary |
|---|
| Fields inherited from class com.sun.grizzly.filter.MessageBase |
|---|
flags, messageType, requestId, sessionId, uniqueMessageId, useGzip |
| Fields inherited from interface com.sun.grizzly.filter.Message |
|---|
APPLICATION_LAYER_ERROR_BIT, CurrentVersion, GZIP_BIT, HeaderLength, Magic, MagicByteLength, Message_Error, Message_Fragment, Message_Reply, Message_Request, MessageMaxLength, MORE_FRAGMENTS_BIT |
| Constructor Summary | |
|---|---|
InputStreamMessage()
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
|
| Methods inherited from class com.sun.grizzly.filter.MessageBase |
|---|
checkMagic, getMessageSize, getMessageType, getNeededBytesSize, getRequestId, getSessionId, getUniqueMessageId, isApplicationLayerException, isClean, isError, isGzip, moreFragmentsToFollow, parseHeader, setMessageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamMessage()
| Method Detail |
|---|
public java.io.InputStream getInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||