com.github.restup.service.UnsupportedMethodCommand Maven / Gradle / Ivy
package com.github.restup.service;
import com.github.restup.errors.RequestError;
import com.github.restup.registry.Resource;
import com.github.restup.util.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* {@link MethodCommand} which always throws an {@link com.github.restup.errors.RequestErrorException} indicating that the operation is not supported. Serves as a placeholder for services with missing operations
*
* @author abuttaro
*/
public class UnsupportedMethodCommand implements MethodCommand