com.github.restup.service.AnnotatedOperationMethodCommand Maven / Gradle / Ivy
package com.github.restup.service;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import com.github.restup.bind.MethodArgumentFactory;
import com.github.restup.errors.ErrorFactory;
import com.github.restup.registry.Resource;
import com.github.restup.registry.ResourceRegistry;
import com.github.restup.service.model.response.ResourceResultConverter;
import com.github.restup.service.model.response.ResourceResultConverterFactory;
import com.github.restup.util.ReflectionUtils;
/**
* Executes a service method composed of "pre-filters", a operations method, and "post-filters" Both the pre and post filter chain are assembled from annotated methods.
*
* @author abuttaro
*/
public class AnnotatedOperationMethodCommand implements MethodCommand