public class StateFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DONT_FOLLOW_REDIRECTS |
protected static String |
ENABLE_JERSEY_LOGGING_ENV_NAME |
| Constructor and Description |
|---|
StateFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildErrorMessage(GedcomxApplicationState state) |
protected com.sun.jersey.api.client.Client |
loadDefaultClient() |
protected AgentState |
newAgentState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected AncestryResultsState |
newAncestryResultsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected CollectionsState |
newCollectionsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected CollectionState |
newCollectionState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
CollectionState |
newCollectionState(URI discoveryUri) |
CollectionState |
newCollectionState(URI discoveryUri,
com.sun.jersey.api.client.Client client) |
CollectionState |
newCollectionState(URI discoveryUri,
com.sun.jersey.api.client.Client client,
String method) |
protected DescendancyResultsState |
newDescendancyResultsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonChildrenState |
newPersonChildrenState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonParentsState |
newPersonParentsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonSearchResultsState |
newPersonSearchResultsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonSpousesState |
newPersonSpousesState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonsState |
newPersonsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PersonState |
newPersonState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
PersonState |
newPersonState(URI discoveryUri) |
PersonState |
newPersonState(URI discoveryUri,
com.sun.jersey.api.client.Client client) |
PersonState |
newPersonState(URI discoveryUri,
com.sun.jersey.api.client.Client client,
String method) |
protected PlaceDescriptionsState |
newPlaceDescriptionsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected PlaceDescriptionState |
newPlaceDescriptionState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected RecordsState |
newRecordsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected RecordState |
newRecordState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
RecordState |
newRecordState(URI discoveryUri) |
RecordState |
newRecordState(URI discoveryUri,
com.sun.jersey.api.client.Client client) |
RecordState |
newRecordState(URI discoveryUri,
com.sun.jersey.api.client.Client client,
String method) |
protected RelationshipsState |
newRelationshipsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected RelationshipState |
newRelationshipState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected SourceDescriptionsState |
newSourceDescriptionsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected SourceDescriptionState |
newSourceDescriptionState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
VocabElementListState |
newVocabElementListState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
VocabElementState |
newVocabElementState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken) |
protected static final String ENABLE_JERSEY_LOGGING_ENV_NAME
protected static final String DONT_FOLLOW_REDIRECTS
public CollectionState newCollectionState(URI discoveryUri)
public CollectionState newCollectionState(URI discoveryUri, com.sun.jersey.api.client.Client client)
public CollectionState newCollectionState(URI discoveryUri, com.sun.jersey.api.client.Client client, String method)
public PersonState newPersonState(URI discoveryUri)
public PersonState newPersonState(URI discoveryUri, com.sun.jersey.api.client.Client client)
public PersonState newPersonState(URI discoveryUri, com.sun.jersey.api.client.Client client, String method)
public RecordState newRecordState(URI discoveryUri)
public RecordState newRecordState(URI discoveryUri, com.sun.jersey.api.client.Client client)
public RecordState newRecordState(URI discoveryUri, com.sun.jersey.api.client.Client client, String method)
protected com.sun.jersey.api.client.Client loadDefaultClient()
protected AgentState newAgentState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected AncestryResultsState newAncestryResultsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected CollectionsState newCollectionsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected CollectionState newCollectionState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected DescendancyResultsState newDescendancyResultsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonChildrenState newPersonChildrenState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonParentsState newPersonParentsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonSearchResultsState newPersonSearchResultsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PlaceDescriptionState newPlaceDescriptionState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PlaceDescriptionsState newPlaceDescriptionsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
public VocabElementState newVocabElementState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
public VocabElementListState newVocabElementListState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonSpousesState newPersonSpousesState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonsState newPersonsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected PersonState newPersonState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected RecordsState newRecordsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected RecordState newRecordState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected RelationshipsState newRelationshipsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected RelationshipState newRelationshipState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected SourceDescriptionsState newSourceDescriptionsState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected SourceDescriptionState newSourceDescriptionState(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response, String accessToken)
protected String buildErrorMessage(GedcomxApplicationState state)
Copyright © 2018. All rights reserved.