public class DefaultMarshallerProvider extends java.lang.Object implements MarshallerProvider
MarshallerProvider which just create a new Marshaller
on ever getMarshaller(ChannelHandlerContext) call.| 构造器和说明 |
|---|
DefaultMarshallerProvider(MarshallerFactory factory,
MarshallingConfiguration config)
Create a new instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
Marshaller |
getMarshaller(ChannelHandlerContext ctx)
Get a
Marshaller for the given ChannelHandlerContext |
public DefaultMarshallerProvider(MarshallerFactory factory,
MarshallingConfiguration config)
factory - the MarshallerFactory to use to create Marshallerconfig - the MarshallingConfigurationpublic Marshaller getMarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
MarshallerProviderMarshaller for the given ChannelHandlerContextgetMarshaller 在接口中 MarshallerProviderjava.lang.Exception