
public class DefaultUnmarshallerProvider extends Object implements UnmarshallerProvider
UnmarshallerProvider which will just create a new Unmarshaller
on every call to getUnmarshaller(ChannelHandlerContext)| Constructor and Description |
|---|
DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory,
org.jboss.marshalling.MarshallingConfiguration config)
Create a new instance of
DefaultMarshallerProvider |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.marshalling.Unmarshaller |
getUnmarshaller(ChannelHandlerContext ctx)
Get the
Unmarshaller for the given ChannelHandlerContext |
public DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory,
org.jboss.marshalling.MarshallingConfiguration config)
DefaultMarshallerProviderfactory - the MarshallerFactory to use to create Unmarshallerconfig - the MarshallingConfigurationpublic org.jboss.marshalling.Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws Exception
UnmarshallerProviderUnmarshaller for the given ChannelHandlerContextgetUnmarshaller in interface UnmarshallerProviderExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.