Top Description Fields Constructors Methods
io.netty.handler.codec.marshalling

public Class DefaultUnmarshallerProvider

extends Object
implements UnmarshallerProvider
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.marshalling.UnmarshallerProvider
Known Direct Subclasses
io.netty.handler.codec.marshalling.ContextBoundUnmarshallerProvider
Imports
io.netty.channel.ChannelHandlerContext, org.jboss.marshalling.MarshallerFactory, .MarshallingConfiguration, .Unmarshaller

Default implementation of UnmarshallerProvider which will just create a new Unmarshaller on every call to getUnmarshaller(ChannelHandlerContext)

Field Summary

Modifier and TypeField and Description
private final MarshallingConfiguration
private final MarshallerFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Unmarshaller
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configback to summary
private final MarshallingConfiguration config
factoryback to summary
private final MarshallerFactory factory

Constructor Detail

DefaultUnmarshallerProviderback to summary
public DefaultUnmarshallerProvider(MarshallerFactory factory, MarshallingConfiguration config)

Create a new instance of DefaultMarshallerProvider

Parameters
factory:MarshallerFactory

the MarshallerFactory to use to create Unmarshaller

config:MarshallingConfiguration

the MarshallingConfiguration

Method Detail

getUnmarshallerback to summary
public Unmarshaller getUnmarshaller(ChannelHandlerContext ctx) throws Exception

Implements io.netty.handler.codec.marshalling.UnmarshallerProvider.getUnmarshaller.

Doc from io.netty.handler.codec.marshalling.UnmarshallerProvider.getUnmarshaller.

Get the Unmarshaller for the given ChannelHandlerContext

Annotations
@Override