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

com.jdroid.java.http.HttpServiceFactory Maven / Gradle / Ivy

package com.jdroid.java.http;

import com.jdroid.java.http.post.BodyEnclosingHttpService;

import java.util.List;

public interface HttpServiceFactory {
	
	public HttpService newGetService(Server server, List urlSegments,
										   List httpServiceProcessors);
	
	public BodyEnclosingHttpService newPostService(Server server, List urlSegments,
														   List httpServiceProcessors);
	
	public MultipartHttpService newMultipartPostService(Server server, List urlSegments, List httpServiceProcessors);
	
	public MultipartHttpService newMultipartPutService(Server server, List urlSegments, List httpServiceProcessors);
	
	public BodyEnclosingHttpService newFormPostService(Server server, List urlSegments, List httpServiceProcessors);
	
	public BodyEnclosingHttpService newPutService(Server server, List urlSegments,
														  List httpServiceProcessors);
	
	public BodyEnclosingHttpService newPatchService(Server baseURL, List urlSegments,
															List httpServiceProcessors);
	
	public HttpService newDeleteService(Server server, List urlSegments,
											  List httpServiceProcessors);
}