UnmarshallerProvider which will just create a new Unmarshaller
on every call to getUnmarshaller(ChannelHandlerContext)
| Modifier and Type | Field and Description |
|---|---|
| private final MarshallingConfiguration | |
| private final MarshallerFactory |
| Access | Constructor and Description |
|---|---|
| public | DefaultUnmarshallerProvider(MarshallerFactory
the factory, MarshallingConfiguration config)MarshallerFactory to use to create UnmarshallerCreate a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Unmarshaller | getUnmarshaller(ChannelHandlerContext ctx)
Implements io. Unmarshaller for the given ChannelHandlerContext
|
| config | back to summary |
|---|---|
| private final MarshallingConfiguration config | |
| factory | back to summary |
|---|---|
| private final MarshallerFactory factory | |
| DefaultUnmarshallerProvider | back to summary |
|---|---|
| public DefaultUnmarshallerProvider(MarshallerFactory factory, MarshallingConfiguration config) Create a new instance of
| |
| getUnmarshaller | back to summary |
|---|---|
| public Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws Exception Implements io. Doc from io. Get the
| |