All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.jhonsapp.bootstrap.test.restTemplate.TestRest Maven / Gradle / Ivy

package br.com.jhonsapp.bootstrap.test.restTemplate;

import br.com.jhonsapp.bootstrap.test.restTemplate.command.AuthenticationCommand;
import br.com.jhonsapp.bootstrap.test.restTemplate.command.GetCommand;
import br.com.jhonsapp.bootstrap.test.restTemplate.command.PostCommand;
import br.com.jhonsapp.bootstrap.test.restTemplate.command.PutCommand;

public class TestRest {

	private AuthenticationCommand authentication = new AuthenticationCommand();
	private GetCommand get;
	private PostCommand post;
	private PutCommand put;

	
	public TestRest(Class typeClass, String requestMapping) {
		this.get = new GetCommand(authentication, typeClass, requestMapping);
		this.post = new PostCommand(authentication, typeClass, requestMapping);
		this.put = new PutCommand(authentication, typeClass, requestMapping);
	}


	public AuthenticationCommand Authentication() {
		return authentication;
	}


	public GetCommand Get() {
		return get;
	}

	public PostCommand Post() {
		return post;
	}
	
	public PutCommand Put(){
		return put;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy