class DeserializeStrategyPostJson implements IDeserializeStrategy<FullHttpRequest> {

    @Override
    public IObject deserialize(final FullHttpRequest request) throws DeserializationException {
        ByteBuf content = request.content();

        byte[] bytes = new byte[content.capacity()];

        content.getBytes(0, bytes);

        try {
            return messageMapper.deserialize(bytes);
        } catch (ResolutionException e) {
            throw new DeserializationException("Failed to deserialize request. It should be json", e);
        }
    }

    public  DeserializeStrategyPostJson(final IMessageMapper<byte[]> messageMapper);

}