@NoImplement
public interface FragmentHandler
InputStream.
Clients MUST always invoke either complete() or abort() once the multi fragment message is over.
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Clients MUST invoke this method if any exceptional situation will cause the multi fragment message to never complete,
meaning that the last fragment will never arrive.
|
void |
complete()
Clients MUST invoke this method once the last fragment of a message has been received.
|
InputStream |
getInputStream() |
boolean |
write(byte[] data)
Makes the given
data available at the end of the getInputStream() |
boolean write(byte[] data)
throws IOException
data available at the end of the getInputStream()data - a fragment's payloadtrue if the information could be appended to the streamIOExceptionInputStream getInputStream()
void complete()
void abort()
Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.