public class StatementClient extends BaseClient
_host, authString, gson, password, username| Constructor and Description |
|---|
StatementClient(String uri,
String encodedUsernamePassword) |
StatementClient(String uri,
String user,
String password) |
StatementClient(URL uri,
String encodedUsernamePassword) |
StatementClient(URL uri,
String user,
String password) |
checkPath, getDecoder, init, init, initializeConnection, initializeConnectionForAttachments, issueDelete, issueGet, issueGetWithAttachments, issuePost, issuePostWithFileAttachment, issuePut, issuePutWithFileAttachment, readFromConnectionpublic StatementClient(String uri, String user, String password) throws MalformedURLException
MalformedURLExceptionpublic StatementClient(URL uri, String user, String password) throws MalformedURLException
MalformedURLExceptionpublic StatementClient(String uri, String encodedUsernamePassword) throws MalformedURLException
MalformedURLExceptionpublic StatementClient(URL uri, String encodedUsernamePassword) throws MalformedURLException
MalformedURLExceptionpublic String postStatement(Statement statement) throws IOException
IOExceptionpublic ArrayList<String> postStatements(ArrayList<Statement> statements) throws IOException
IOExceptionpublic Boolean putStatement(Statement statement, String stmtId) throws IOException
IOExceptionpublic String postStatementWithAttachments(Statement statement, ArrayList<AttachmentAndType> attachments) throws IOException, NoSuchAlgorithmException
IOExceptionNoSuchAlgorithmExceptionpublic ArrayList<String> postStatementsWithAttachments(ArrayList<Statement> statements, ArrayList<AttachmentAndType> attachments) throws IOException, NoSuchAlgorithmException
IOExceptionNoSuchAlgorithmExceptionpublic Boolean putStatementWithAttachments(Statement statement, String stmtId, ArrayList<AttachmentAndType> attachments) throws IOException, NoSuchAlgorithmException
IOExceptionNoSuchAlgorithmExceptionpublic StatementResult getStatements(String more) throws IOException
IOExceptionpublic StatementResult getStatements() throws IOException
IOExceptionpublic AttachmentResult getStatementsWithAttachments() throws IOException, com.google.gson.JsonSyntaxException, NumberFormatException, javax.mail.MessagingException
IOExceptioncom.google.gson.JsonSyntaxExceptionNumberFormatExceptionjavax.mail.MessagingExceptionpublic AttachmentResult getStatementWithAttachments(String statementId) throws IOException, com.google.gson.JsonSyntaxException, NumberFormatException, javax.mail.MessagingException
IOExceptioncom.google.gson.JsonSyntaxExceptionNumberFormatExceptionjavax.mail.MessagingExceptionpublic Statement getStatement(String statementId) throws IOException
IOExceptionpublic Statement getVoided(String statementId) throws IOException
IOExceptionpublic StatementClient addFilter(String key, String value)
public StatementClient filterByVerb(Verb v) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic StatementClient filterByVerb(String verbId)
public StatementClient filterByActor(Actor a) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic StatementClient filterByActivity(String activityId)
public StatementClient filterByRegistration(String registrationId)
public StatementClient includeRelatedActivities(boolean include)
public StatementClient includeRelatedAgents(boolean include)
public StatementClient filterBySince(String timestamp)
public StatementClient limitResults(int limit)
public StatementClient filterByUntil(String timestamp)
public StatementClient exact()
public StatementClient ids()
public StatementClient canonical()
public StatementClient ascending(boolean include)
Copyright © 2017. All rights reserved.