Class DefaultMarshallerProvider
- java.lang.Object
-
- io.netty.handler.codec.marshalling.DefaultMarshallerProvider
-
- All Implemented Interfaces:
MarshallerProvider
public class DefaultMarshallerProvider extends java.lang.Object implements MarshallerProvider
Default implementation ofMarshallerProviderwhich just create a newMarshalleron evergetMarshaller(ChannelHandlerContext)call.
-
-
Constructor Summary
Constructors Constructor Description DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.marshalling.MarshallergetMarshaller(ChannelHandlerContext ctx)Get aMarshallerfor the givenChannelHandlerContext
-
-
-
Constructor Detail
-
DefaultMarshallerProvider
public DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance- Parameters:
factory- theMarshallerFactoryto use to createMarshallerconfig- theMarshallingConfiguration
-
-
Method Detail
-
getMarshaller
public org.jboss.marshalling.Marshaller getMarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
Description copied from interface:MarshallerProviderGet aMarshallerfor the givenChannelHandlerContext- Specified by:
getMarshallerin interfaceMarshallerProvider- Throws:
java.lang.Exception
-
-