com.clarolab.bamboo.client.BambooApiClient Maven / Gradle / Ivy
package com.clarolab.bamboo.client;
import lombok.Builder;
import lombok.Getter;
import lombok.extern.java.Log;
@Log
public class BambooApiClient {
@Getter
private HttpClient httpClient;
@Builder
public BambooApiClient(String baseUrl, String userName, String password){
this.httpClient = HttpClient.builder().baseUrl(baseUrl).userName(userName).userPassword(password).build();
}
// public T perform(String request, Class classOfT) throws Exception {
// return httpClient.get(request, classOfT);
// }
}