public class AgentClient extends BaseClient
_host, authString, gson, password, username| Constructor and Description |
|---|
AgentClient(String uri,
String encodedUsernamePassword) |
AgentClient(String uri,
String username,
String password) |
AgentClient(URL uri,
String encodedUsernamePassword) |
AgentClient(URL uri,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteAgentProfile(AgentProfile agentProfile,
String ifMatchEtagValue) |
com.google.gson.JsonElement |
getAgentProfile(AgentProfile agentProfile) |
com.google.gson.JsonArray |
getAgentProfiles(Agent a,
String since) |
Person |
getPerson(Agent a) |
protected String |
issueProfileDelete(String path,
String ifMatchEtagValue) |
protected String |
issueProfilePost(String path,
String data,
HashMap<String,String> etag) |
protected String |
issueProfilePut(String path,
String data,
HashMap<String,String> etag) |
boolean |
postAgentProfile(AgentProfile agentProfile,
HashMap<String,String> etag) |
boolean |
putAgentProfile(AgentProfile agentProfile,
HashMap<String,String> etag) |
checkPath, getDecoder, init, init, initializeConnection, initializeConnectionForAttachments, issueDelete, issueGet, issueGetWithAttachments, issuePost, issuePostWithFileAttachment, issuePut, issuePutWithFileAttachment, readFromConnectionpublic AgentClient(String uri, String username, String password) throws MalformedURLException
MalformedURLExceptionpublic AgentClient(URL uri, String username, String password) throws MalformedURLException
MalformedURLExceptionpublic AgentClient(String uri, String encodedUsernamePassword) throws MalformedURLException
MalformedURLExceptionpublic AgentClient(URL uri, String encodedUsernamePassword) throws MalformedURLException
MalformedURLExceptionprotected String issueProfilePost(String path, String data, HashMap<String,String> etag) throws IOException
IOExceptionprotected String issueProfilePut(String path, String data, HashMap<String,String> etag) throws IOException
IOExceptionprotected String issueProfileDelete(String path, String ifMatchEtagValue) throws IOException
IOExceptionpublic Person getPerson(Agent a) throws IOException
IOExceptionpublic com.google.gson.JsonElement getAgentProfile(AgentProfile agentProfile) throws IOException
IOExceptionpublic boolean putAgentProfile(AgentProfile agentProfile, HashMap<String,String> etag) throws IOException
IOExceptionpublic boolean postAgentProfile(AgentProfile agentProfile, HashMap<String,String> etag) throws IOException
IOExceptionpublic boolean deleteAgentProfile(AgentProfile agentProfile, String ifMatchEtagValue) throws IOException
IOExceptionpublic com.google.gson.JsonArray getAgentProfiles(Agent a, String since) throws IOException
IOExceptionCopyright © 2017. All rights reserved.