Package pl.databucket.client
Class Databucket
java.lang.Object
pl.databucket.client.Databucket
public class Databucket extends Object
-
Constructor Summary
Constructors Constructor Description Databucket(String serviceUrl, boolean logs)Databucket(String serviceUrl, boolean logs, Proxy proxy)Databucket(String serviceUrl, String username, String password, Integer projectId, boolean logs)Databucket(String serviceUrl, String username, String password, Integer projectId, boolean logs, Proxy proxy) -
Method Summary
Modifier and Type Method Description voidaddHeader(String name, Object value)voidauthenticate(String username, String password, Integer projectId)StringbuildUrl(String resource)com.sun.jersey.api.client.ClientgetClient()voidsetHeaders(com.sun.jersey.api.client.WebResource.Builder builder)
-
Constructor Details
-
Databucket
-
Databucket
-
Databucket
-
Databucket
-
-
Method Details
-
getClient
public com.sun.jersey.api.client.Client getClient() -
buildUrl
-
addHeader
-
setHeaders
public void setHeaders(com.sun.jersey.api.client.WebResource.Builder builder) -
authenticate
-