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)
DefaultMarshallerProvider
factory
- the MarshallerFactory
to use to create Unmarshaller
config
- the MarshallingConfiguration
public Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws java.lang.Exception
UnmarshallerProvider
Unmarshaller
for the given ChannelHandlerContext
getUnmarshaller
在接口中 UnmarshallerProvider
java.lang.Exception