public class CustomClassLoadingLengthProtocol extends LengthProtocol
NO_MAX_LENGTHbufferSize, UNLIMITEDEOF, NO_STREAM, STREAM_OK| Constructor and Description |
|---|
CustomClassLoadingLengthProtocol() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
Object |
read(InputStream is)
Reads the input stream and returns a whole message.
|
void |
setClassLoader(ClassLoader classLoader) |
getMaxMessageLength, isRepeat, setMaxMessageLength, writeByteArrayread, remainingcopy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setObjectSerializer, setRethrowExceptionOnRead, writepublic Object read(InputStream is) throws IOException
TcpProtocolread in interface TcpProtocolread in class LengthProtocolis - the input streamIOException - if an exception occurspublic ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.