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 SummaryConstructors Constructor Description DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.marshalling.MarshallergetMarshaller(ChannelHandlerContext ctx)Get aMarshallerfor the givenChannelHandlerContext
 
- 
- 
- 
Constructor Detail- 
DefaultMarshallerProviderpublic DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)Create a new instance- Parameters:
- factory- the- MarshallerFactoryto use to create- Marshaller
- config- the- MarshallingConfiguration
 
 
- 
 - 
Method Detail- 
getMarshallerpublic org.jboss.marshalling.Marshaller getMarshaller(ChannelHandlerContext ctx) throws java.lang.Exception Description copied from interface:MarshallerProviderGet aMarshallerfor the givenChannelHandlerContext- Specified by:
- getMarshallerin interface- MarshallerProvider
- Throws:
- java.lang.Exception
 
 
- 
 
-