📄 facebookjsonrestclient.html
字号:
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="class in com.google.code.facebookapi">com.google.code.facebookapi.ExtensibleClient</A><java.lang.Object> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.code.facebookapi.FacebookJsonRestClient</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="interface in com.google.code.facebookapi">IFacebookRestClient</A><java.lang.Object></DD></DL><HR><DL><DT><PRE>public class <B>FacebookJsonRestClient</B><DT>extends <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="class in com.google.code.facebookapi">ExtensibleClient</A><java.lang.Object></DL></PRE><P>A FacebookRestClient that uses the JSON result format. This means results from calls to the Facebook API are returned as <a href="http://www.json.org/">JSON</a> and transformed into Java <code>Object</code>'s.<P><P><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected org.json.JSONArray</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#cacheFriendsList">cacheFriendsList</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#log">log</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_com.google.code.facebookapi.ExtensibleClient"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class com.google.code.facebookapi.<A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="class in com.google.code.facebookapi">ExtensibleClient</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_apiKey">_apiKey</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_debug">_debug</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_isDesktop">_isDesktop</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_readTimeout">_readTimeout</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_secret">_secret</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_serverUrl">_serverUrl</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_timeout">_timeout</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#_uploadFile">_uploadFile</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#batchMode">batchMode</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#cacheAppAdded">cacheAppAdded</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#cacheSessionExpires">cacheSessionExpires</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#cacheSessionKey">cacheSessionKey</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#cacheSessionSecret">cacheSessionSecret</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#cacheUserId">cacheUserId</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#CRLF">CRLF</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#DEBUG">DEBUG</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#HTTPS_SERVER_URL">HTTPS_SERVER_URL</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#JAXB_CONTEXT">JAXB_CONTEXT</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#MARKETPLACE_STATUS_DEFAULT">MARKETPLACE_STATUS_DEFAULT</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#MARKETPLACE_STATUS_NOT_SUCCESS">MARKETPLACE_STATUS_NOT_SUCCESS</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#MARKETPLACE_STATUS_SUCCESS">MARKETPLACE_STATUS_SUCCESS</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#NUM_AUTOAPPENDED_PARAMS">NUM_AUTOAPPENDED_PARAMS</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#permissionsApiKey">permissionsApiKey</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#PREF">PREF</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#queries">queries</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#rawResponse">rawResponse</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#SERVER_URL">SERVER_URL</A>, <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#UPLOAD_BUFFER_SIZE">UPLOAD_BUFFER_SIZE</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_com.google.code.facebookapi.IFacebookRestClient"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from interface com.google.code.facebookapi.<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="interface in com.google.code.facebookapi">IFacebookRestClient</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#ERROR_TAG">ERROR_TAG</A>, <A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#FB_SERVER">FB_SERVER</A>, <A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#HTTPS_SERVER_ADDR">HTTPS_SERVER_ADDR</A>, <A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#SERVER_ADDR">SERVER_ADDR</A>, <A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#TARGET_API_VERSION">TARGET_API_VERSION</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#FacebookJsonRestClient(java.lang.String, java.lang.String)">FacebookJsonRestClient</A></B>(java.lang.String apiKey, java.lang.String secret)</CODE><BR> Constructor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#FacebookJsonRestClient(java.lang.String, java.lang.String, int)">FacebookJsonRestClient</A></B>(java.lang.String apiKey, java.lang.String secret, int connectionTimeout)</CODE><BR> Constructor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#FacebookJsonRestClient(java.lang.String, java.lang.String, java.lang.String)">FacebookJsonRestClient</A></B>(java.lang.String apiKey, java.lang.String secret, java.lang.String sessionKey)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -