Responds to a POST request to {@code /pref/[userID]/[itemID]} and in turn calls{@link MyrrixRecommender#setPreference(long,long,float)}. If the request body is empty, the value is 1.0, otherwise the value in the request body's first line is used.
Also responds to a DELETE request to the same path, with the same defaults. This corresponds to calling {@link MyrrixRecommender#removePreference(long,long)} instead.
@author Sean Owen @since 1.0
|
|