public class XmlMessageEOFProtocol extends XmlMessageProtocol
XmlMessageProtocol
to continue reading
until either a new message or EOF is found.EOF, NO_STREAM, STREAM_OK
Constructor and Description |
---|
XmlMessageEOFProtocol() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRepeat(int patternIndex,
int len,
int available)
Continue reading til EOF or new document found
|
read
copy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setObjectSerializer, setRethrowExceptionOnRead, write, writeByteArray
protected boolean isRepeat(int patternIndex, int len, int available)
isRepeat
in class XmlMessageProtocol
patternIndex
- The index of the xml tag (or -1 if the next message not found)len
- The amount of data read this loop (or -1 if EOF)available
- The amount of data available to readXmlMessageEOFProtocol
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.