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 ofUnmarshallerProvider
which will just create a newUnmarshaller
on 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.Unmarshaller
getUnmarshaller(ChannelHandlerContext ctx)
Get theUnmarshaller
for the givenChannelHandlerContext
-
-
-
Constructor Detail
-
DefaultUnmarshallerProvider
public DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)
Create a new instance ofDefaultMarshallerProvider
- Parameters:
factory
- theMarshallerFactory
to use to createUnmarshaller
config
- theMarshallingConfiguration
-
-
Method Detail
-
getUnmarshaller
public org.jboss.marshalling.Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
Description copied from interface:UnmarshallerProvider
Get theUnmarshaller
for the givenChannelHandlerContext
- Specified by:
getUnmarshaller
in interfaceUnmarshallerProvider
- Throws:
java.lang.Exception
-
-