| java.lang.Object | |
| ↳ | com.google.api.gbase.client.FeedURLFactory |
Provides feed URLs that can be used with a GoogleBase server.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DEFAULT_BASE_URL | URL of the server to connect to by default. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| baseUrl | The url used as a base when creating urls. | ||||||||||
| feedAttributes | |||||||||||
| feedItems | |||||||||||
| feedItemsBatch | |||||||||||
| feedLocales | |||||||||||
| feedSnippets | |||||||||||
| feedSnippetsBatch | |||||||||||
| instance | The default FeedURLFactory instance targeted to the default URL. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an URL factory targeted to a server.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets an URL for the list of the most used attributes
and their most used values.
| |||||||||||
Returns the URL used as a base for the generated URLs.
| |||||||||||
Gets the default instance of this factory, targeted
to {@value #DEFAULT_BASE_URL}.
| |||||||||||
Gets an URL for getting the item types Google suggest using
for a given itemtype for a given locale.
| |||||||||||
Gets an URL for querying the item types Google suggest using
for a given locale.
| |||||||||||
Gets an URL for posting batch operations
to the customer feed.
| |||||||||||
Gets an URL for accessing an item.
| |||||||||||
Gets an URL for accessing a customer feed, which allows users
to query, insert, update and delete their own items.
| |||||||||||
Gets the URL of the list of all the supported locales.
| |||||||||||
Gets an URL for accessing a public batch feed, which allows users to
get a series of entries.
| |||||||||||
Gets an URL for accessing a snippet.
| |||||||||||
Gets an URL for accessing a public feed, which allows users to perform
queries.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
URL of the server to connect to by default. Currently {@value #DEFAULT_BASE_URL}.
The url used as a base when creating urls.
The default FeedURLFactory instance targeted to the default URL.
Creates an URL factory targeted to a server.
As long as you don't need to connect to a nonstandard
URL, different from {@value #DEFAULT_BASE_URL}, you should
consider calling getDefault() instead.
| url | An URL used as a base for the generated URLs |
|---|
| MalformedURLException |
|---|
Gets an URL for the list of the most used attributes and their most used values.
GoogleBaseQuery
Returns the URL used as a base for the generated URLs.
Gets the default instance of this factory, targeted to {@value #DEFAULT_BASE_URL}.
Gets an URL for getting the item types Google suggest using for a given itemtype for a given locale. The feed is read-only and unauthenticated.
| locale | A locale, for example "de_DE", "en_GB", "en_US" |
|---|---|
| itemType | The item type to be analysed |
| MalformedURLException |
|---|
Gets an URL for querying the item types Google suggest using for a given locale. The feed is read-only and unauthenticated.
| locale | A locale, for example "de_DE", "en_GB", "en_US" |
|---|
| MalformedURLException |
|---|
Gets an URL for posting batch operations to the customer feed.
Gets an URL for accessing an item.
| entryId |
|---|
GoogleBaseService| MalformedURLException |
|---|
Gets an URL for accessing a customer feed, which allows users to query, insert, update and delete their own items. The textual attributes of the items are returned in their original format. This is a read/write feed that is only accessible to authenticated users.
GoogleBaseQuery
Gets the URL of the list of all the supported locales. The feed is read-only and unauthenticated.
Gets an URL for accessing a public batch feed, which allows users to
get a series of entries.
A query on this batch feed returns the same result as a series
of calls to getSnippetsFeedURL() in one HTTP request.
Gets an URL for accessing a snippet.
| id | The id of the snippet |
|---|
GoogleBaseService| MalformedURLException |
|---|
Gets an URL for accessing a public feed, which allows users to perform queries. The formatting of the textual attributes returned by this feed is not guaranteed. This is an unauthenticated read-only feed.
GoogleBaseQuery