gadgets.io.RequestParameters
SUMMARY DETAIL
Static Class gadgets.io.RequestParameters
Used by the
gadgets.io.makeRequest() method.
Field Summary
-
<static> object
AUTHORIZATION
- The type of authentication to use when fetching the content;
defaults to
AuthorizationType.NONE.
-
<static> object
CONTENT_TYPE
- The type of content that lives at the URL;
defaults to
ContentType.TEXT.
-
<static> object
GET_SUMMARIES
- If the content is a feed, whether to fetch summaries for that feed;
defaults to false.
-
<static> object
HEADERS
- The HTTP headers to send to the URL;
defaults to null.
-
<static> object
METHOD
- The method to use when fetching content from the URL;
defaults to
MethodType.GET.
-
<static> object
NUM_ENTRIES
- If the content is a feed, the number of entries to fetch;
defaults to 3.
-
<static> object
POST_DATA
- The data to send to the URL using the POST method;
defaults to null.
Field Detail
AUTHORIZATION
<static> object AUTHORIZATION
The type of authentication to use when fetching the content;
defaults to AuthorizationType.NONE.
Specified as an
AuthorizationType.
CONTENT_TYPE
<static> object CONTENT_TYPE
The type of content that lives at the URL;
defaults to ContentType.TEXT.
Specified as a
ContentType.
GET_SUMMARIES
<static> object GET_SUMMARIES
If the content is a feed, whether to fetch summaries for that feed;
defaults to false.
Specified as a Boolean.
HEADERS
<static> object HEADERS
The HTTP headers to send to the URL;
defaults to null.
Specified as a Map.<String,String>.
METHOD
<static> object METHOD
The method to use when fetching content from the URL;
defaults to MethodType.GET.
Specified as a
MethodType.
NUM_ENTRIES
<static> object NUM_ENTRIES
If the content is a feed, the number of entries to fetch;
defaults to 3.
Specified as a Number.
POST_DATA
<static> object POST_DATA
The data to send to the URL using the POST method;
defaults to null.
Specified as a String.