class MapMultipartFormDataMessageBodyReader implements MessageBodyReader<Map<String, InputItem>> {

    @Override
    public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) {
        if (type == Map.class && genericType instanceof ParameterizedType) {
            ParameterizedType t = (ParameterizedType)genericType;
            Type[] ta = t.getActualTypeArguments();
            return ta.length == 2 && ta[0] == String.class && ta[1] == InputItem.class;
        }
        return false;
    }

    public  MapMultipartFormDataMessageBodyReader(@Context Providers providers);

}