// Path: src/main/java/com/github/ggeorgovassilis/springjsonmapper/model/MethodParameterDescriptor.java
// public enum Type {
// 	httpParameter, pathVariable, requestBody, requestPart, cookie, httpHeader
// };


import org.springframework.http.HttpMethod;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;
import static com.github.ggeorgovassilis.springjsonmapper.model.MethodParameterDescriptor.Type;
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public HttpMethod getHttpMethod() {
		return httpMethod;
	}

	public void setHttpMethod(HttpMethod httpMethod) {
		this.httpMethod = httpMethod;
	}

	public List<MethodParameterDescriptor> getParameters() {
		return parameters;
	}

	public void setParameters(List<MethodParameterDescriptor> parameters) {
		this.parameters = parameters;
	}

	public void addDescriptor(MethodParameterDescriptor descriptor) {
		parameters.add(descriptor);
	}

	public boolean hasRequestBody(String parameter) {
		for (MethodParameterDescriptor descriptor : parameters)
			if (parameter.equals(descriptor.getName())
// Path: src/main/java/com/github/ggeorgovassilis/springjsonmapper/model/MethodParameterDescriptor.java
// public enum Type {
// 	httpParameter, pathVariable, requestBody, requestPart, cookie, httpHeader
// };


// Path: src/main/java/com/github/ggeorgovassilis/springjsonmapper/model/UrlMapping.java
import org.springframework.http.HttpMethod;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;
import static com.github.ggeorgovassilis.springjsonmapper.model.MethodParameterDescriptor.Type;

		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public HttpMethod getHttpMethod() {
		return httpMethod;
	}

	public void setHttpMethod(HttpMethod httpMethod) {
		this.httpMethod = httpMethod;
	}

	public List<MethodParameterDescriptor> getParameters() {
		return parameters;
	}

	public void setParameters(List<MethodParameterDescriptor> parameters) {
		this.parameters = parameters;
	}

	public void addDescriptor(MethodParameterDescriptor descriptor) {
		parameters.add(descriptor);
	}

	public boolean hasRequestBody(String parameter) {
		for (MethodParameterDescriptor descriptor : parameters)
			if (parameter.equals(descriptor.getName())
					&& (descriptor.getType().equals(Type.requestBody) || descriptor.getType().equals(Type.requestPart)))