package org.granite.rest.handler.serialzation;

import com.fasterxml.jackson.databind.ObjectMapper;

import org.msgpack.jackson.dataformat.MessagePackFactory;

public class MsgPackSerializer<V> extends ContentTypeSerializer<V> {

    protected MsgPackSerializer(final Class<V> itemClass) {
        super(new ObjectMapper(new MessagePackFactory()), itemClass);
    }

    @Override
    public String getContentType() {
        return "application/x-msgpack";
    }
}

@@ -232,16 +232,13 @@
    p
-rotected
+ublic
  Msg

Make constructor public