public class DefaultUnmarshallerProvider extends java.lang.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)
DefaultMarshallerProvider
factory
- the MarshallerFactory
to use to create Unmarshaller
config
- the MarshallingConfiguration
public org.jboss.marshalling.Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
UnmarshallerProvider
Unmarshaller
for the given ChannelHandlerContext
getUnmarshaller
in interface UnmarshallerProvider
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.