public class Blogger extends AbstractGoogleJsonClient
The Blogger API provides access to posts, comments and pages of a Blogger blog.
For more information about this service, see the API Documentation
This service uses BloggerRequestInitializer to initialize global parameters via its
Blogger.Builder.
| Modifier and Type | Class and Description |
|---|---|
class |
Blogger.Blogs
The "blogs" collection of methods.
|
static class |
Blogger.Builder
Builder for
Blogger. |
class |
Blogger.Comments
The "comments" collection of methods.
|
class |
Blogger.Pages
The "pages" collection of methods.
|
class |
Blogger.Posts
The "posts" collection of methods.
|
class |
Blogger.Users
The "users" collection of methods.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static String |
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
|
static String |
DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service.
|
static String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
| Constructor and Description |
|---|
Blogger(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Blogger.Blogs |
blogs()
An accessor for creating requests from the Blogs collection.
|
Blogger.Comments |
comments()
An accessor for creating requests from the Comments collection.
|
protected void |
initialize(AbstractGoogleClientRequest<?> httpClientRequest) |
Blogger.Pages |
pages()
An accessor for creating requests from the Pages collection.
|
Blogger.Posts |
posts()
An accessor for creating requests from the Posts collection.
|
Blogger.Users |
users()
An accessor for creating requests from the Users collection.
|
getJsonFactory, getObjectParserbatch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterCheckspublic static final String DEFAULT_ROOT_URL
public static final String DEFAULT_MTLS_ROOT_URL
public static final String DEFAULT_SERVICE_PATH
public static final String DEFAULT_BATCH_PATH
public static final String DEFAULT_BASE_URL
public Blogger(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
Use Blogger.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpGoogleNetHttpTransport
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for noneprotected void initialize(AbstractGoogleClientRequest<?> httpClientRequest) throws IOException
initialize in class AbstractGoogleClientIOExceptionpublic Blogger.Blogs blogs()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Blogs.List request = blogger.blogs().list(parameters ...)
public Blogger.Comments comments()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Comments.List request = blogger.comments().list(parameters ...)
public Blogger.Pages pages()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Pages.List request = blogger.pages().list(parameters ...)
public Blogger.Posts posts()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Posts.List request = blogger.posts().list(parameters ...)
public Blogger.Users users()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Users.List request = blogger.users().list(parameters ...)
Copyright © 2011–2022 Google. All rights reserved.