MarshallerProvider which just create a new Marshaller
on ever getMarshaller(ChannelHandlerContext) call.
| Modifier and Type | Field and Description |
|---|---|
| private final MarshallingConfiguration | |
| private final MarshallerFactory |
| Access | Constructor and Description |
|---|---|
| public | DefaultMarshallerProvider(MarshallerFactory
the factory, MarshallingConfiguration config)MarshallerFactory to use to create MarshallerCreate a new instance |
| Modifier and Type | Method and Description |
|---|---|
| public Marshaller | getMarshaller(ChannelHandlerContext ctx)
Implements io. Marshaller for the given ChannelHandlerContext
|
| config | back to summary |
|---|---|
| private final MarshallingConfiguration config | |
| factory | back to summary |
|---|---|
| private final MarshallerFactory factory | |
| DefaultMarshallerProvider | back to summary |
|---|---|
| public DefaultMarshallerProvider(MarshallerFactory factory, MarshallingConfiguration config) Create a new instance
| |
| getMarshaller | back to summary |
|---|---|
| public Marshaller getMarshaller(ChannelHandlerContext ctx) throws Exception Implements io. Doc from io. Get a
| |