com.nulabinc.backlog4j.http.BacklogHttpClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backlog4j Show documentation
Show all versions of backlog4j Show documentation
Backlog4j is a Backlog binding library for Java.
package com.nulabinc.backlog4j.http;
import com.nulabinc.backlog4j.BacklogException;
import com.nulabinc.backlog4j.api.option.GetParams;
import com.nulabinc.backlog4j.api.option.QueryParams;
import com.nulabinc.backlog4j.http.NameValuePair;
import java.util.List;
import java.util.Map;
/**
* @author nulab-inc
*/
public interface BacklogHttpClient {
void setApiKey(String apiKey);
void setBearerToken(String bearerToken);
void setReadTimeout(int readTimeout);
void setConnectionTimeout(int connectionTimeout);
void setUserAgent(String userAgent);
String getUserAgent();
BacklogHttpResponse get(String endpoint, GetParams getParams, QueryParams queryParams) throws BacklogException;
BacklogHttpResponse post(String endpoint, List postParams) throws BacklogException;
BacklogHttpResponse patch(String endpoint, List patchParams) throws BacklogException;
BacklogHttpResponse put(String endpoint, List patchParams) throws BacklogException;
BacklogHttpResponse delete(String endpoint, List deleteParams) throws BacklogException;
BacklogHttpResponse postMultiPart(String endpoint, Map postParams) throws BacklogException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy