Class DefaultUnmarshallerProvider
- java.lang.Object
-
- io.netty.handler.codec.marshalling.DefaultUnmarshallerProvider
-
- All Implemented Interfaces:
UnmarshallerProvider
- Direct Known Subclasses:
ContextBoundUnmarshallerProvider
public class DefaultUnmarshallerProvider extends java.lang.Object implements UnmarshallerProvider
Default implementation ofUnmarshallerProviderwhich will just create a newUnmarshalleron every call togetUnmarshaller(ChannelHandlerContext)
-
-
Constructor Summary
Constructors Constructor Description DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance ofDefaultMarshallerProvider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.marshalling.UnmarshallergetUnmarshaller(ChannelHandlerContext ctx)Get theUnmarshallerfor the givenChannelHandlerContext
-
-
-
Constructor Detail
-
DefaultUnmarshallerProvider
public DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance ofDefaultMarshallerProvider- Parameters:
factory- theMarshallerFactoryto use to createUnmarshallerconfig- theMarshallingConfiguration
-
-
Method Detail
-
getUnmarshaller
public org.jboss.marshalling.Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
Description copied from interface:UnmarshallerProviderGet theUnmarshallerfor the givenChannelHandlerContext- Specified by:
getUnmarshallerin interfaceUnmarshallerProvider- Throws:
java.lang.Exception
-
-