public class DefaultUnmarshallerProvider extends java.lang.Object implements UnmarshallerProvider
UnmarshallerProvider which will just create a new Unmarshaller
on every call to getUnmarshaller(ChannelHandlerContext)| 构造器和说明 |
|---|
DefaultUnmarshallerProvider(MarshallerFactory factory,
MarshallingConfiguration config)
Create a new instance of
DefaultMarshallerProvider |
| 限定符和类型 | 方法和说明 |
|---|---|
Unmarshaller |
getUnmarshaller(ChannelHandlerContext ctx)
Get the
Unmarshaller for the given ChannelHandlerContext |
public DefaultUnmarshallerProvider(MarshallerFactory factory,
MarshallingConfiguration config)
DefaultMarshallerProviderfactory - the MarshallerFactory to use to create Unmarshallerconfig - the MarshallingConfigurationpublic Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
UnmarshallerProviderUnmarshaller for the given ChannelHandlerContextgetUnmarshaller 在接口中 UnmarshallerProviderjava.lang.Exception