public class AgentState extends GedcomxApplicationState<org.gedcomx.Gedcomx>
accessToken, client, DEFAULT_EMBEDDED_LINK_LOADER, entity, links, request, response, stateFactory| Modifier | Constructor and Description |
|---|---|
protected |
AgentState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected AgentState |
clone(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response) |
AgentState |
delete(StateTransitionOption... options) |
AgentState |
get(StateTransitionOption... options) |
org.gedcomx.agent.Agent |
getAgent() |
protected org.gedcomx.links.SupportsLinks |
getMainDataElement() |
String |
getSelfRel() |
AgentState |
head(StateTransitionOption... options) |
AgentState |
ifSuccessful() |
protected org.gedcomx.Gedcomx |
loadEntity(com.sun.jersey.api.client.ClientResponse response) |
AgentState |
options(StateTransitionOption... options) |
AgentState |
post(org.gedcomx.Gedcomx entity,
StateTransitionOption... options) |
AgentState |
put(org.gedcomx.Gedcomx e,
StateTransitionOption... options) |
authenticateViaOAuth2, authenticateViaOAuth2AuthCode, authenticateViaOAuth2AuthCode, authenticateViaOAuth2ClientCredentials, authenticateViaOAuth2Password, authenticateViaOAuth2Password, authenticateWithAccessToken, buildFailureMessage, createAuthenticatedFeedRequest, createAuthenticatedGedcomxRequest, createAuthenticatedRequest, createRequest, createRequestForEmbeddedResource, embed, embed, getAccessToken, getClient, getDescription, getEmbeddedLinkLoader, getEntity, getETag, getHeaders, getLastEmbeddedRequest, getLastEmbeddedResponse, getLastModified, getLink, getLinks, getRequest, getResponse, getSelfUri, getUri, getWarnings, hasClientError, hasError, hasServerError, hasStatus, includeEmbeddedResources, inject, invoke, isAuthenticated, isEmbeddedLinkLoaded, loadEntityConditionally, loadLinks, readContributor, readContributor, readContributor, readFirstPage, readLastPage, readNextPage, readPage, readPreviousPageprotected AgentState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory)
protected AgentState clone(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response)
clone in class GedcomxApplicationState<org.gedcomx.Gedcomx>protected org.gedcomx.Gedcomx loadEntity(com.sun.jersey.api.client.ClientResponse response)
loadEntity in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState ifSuccessful()
ifSuccessful in class GedcomxApplicationState<org.gedcomx.Gedcomx>public String getSelfRel()
getSelfRel in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState head(StateTransitionOption... options)
head in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState options(StateTransitionOption... options)
options in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState get(StateTransitionOption... options)
get in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState delete(StateTransitionOption... options)
delete in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState put(org.gedcomx.Gedcomx e, StateTransitionOption... options)
put in class GedcomxApplicationState<org.gedcomx.Gedcomx>public AgentState post(org.gedcomx.Gedcomx entity, StateTransitionOption... options)
post in class GedcomxApplicationState<org.gedcomx.Gedcomx>protected org.gedcomx.links.SupportsLinks getMainDataElement()
getMainDataElement in class GedcomxApplicationState<org.gedcomx.Gedcomx>public org.gedcomx.agent.Agent getAgent()
Copyright © 2020. All rights reserved.