Package | Description |
---|---|
com.contentful.java.cda |
Modifier and Type | Class and Description |
---|---|
class |
FetchQuery<T extends CDAResource>
Represents a query to the Delivery API which may be invoked synchronously or asynchronously
with a callback.
|
class |
ObserveQuery<T extends CDAResource>
Represents a query to the Delivery API which may be invoked via an
Flowable
subscription. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayResource
An abstraction of CDAResources combined into one array.
|
class |
CDAArray
Collection of CDA resources.
|
class |
CDAAsset
Represents a single asset.
|
class |
CDAContentType
Represents a single content type.
|
class |
CDAEntry
The class represents a basic entry in the space.
|
class |
CDALocale
Represents a single locale.
|
class |
CDASpace
Represents a single space.
|
class |
DeletedResource
Represents a deleted resource (via the Sync API).
|
class |
LocalizedResource
Represents a resource which may contain field values for multiple locales.
|
class |
SynchronizedSpace
Represents results for synchronization via the Sync API.
|
Modifier and Type | Method and Description |
---|---|
<T extends CDAResource> |
CDAClient.fetch(java.lang.Class<T> type)
Returns a
FetchQuery for a given type , which can be used to fulfill the
request synchronously or asynchronously when a callback is provided. |
<T extends CDAResource> |
CDAClient.observe(java.lang.Class<T> type)
Returns an
ObserveQuery for a given type , which can be used to return
an Flowable that fetches the desired resources. |
Modifier and Type | Method and Description |
---|---|
java.util.List<CDAResource> |
ArrayResource.items() |
Constructor and Description |
---|
CDAContentTypeNotFoundException(java.lang.String resourceId,
java.lang.Class<? extends CDAResource> resourceType,
java.lang.String resourceTypeId,
java.lang.Throwable throwable)
Create a new exception.
|
CDAResourceNotFoundException(java.lang.Class<? extends CDAResource> resourceType,
java.lang.String resourceId)
Create a new exception
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.