public static <T extends Messages> T getEncoder(Class<T> cls) {
        return get(cls, ENCODER);
    }
public static < T extends Messages > T getEncoder ( Class < T > cls ) { return get ( cls , ENCODER ) ; }
Get <em>encoding</em> localization object, which will encode all requests so that they can be decoded later by {@link net.lightoze.gwt.i18n.server.LocaleProxy#decode}.
<p>
The purpose is to separate complex (e.g. template-based) text generation and its localization for particular locale into two separate phases.
<p>
<strong>Supported only on server side.</strong>

@param cls localization interface class
@param <T> localization interface class
@return object implementing specified class