public class

GetFriendsMethod

extends BaseBoxMethod
java.lang.Object
   ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
     ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.GetFriendsMethod

Summary

Constants
String PARAMS_KEY_NOZIP this parameter decides whether zip the content with base64 encode or not.
[Expand]
Inherited Fields
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
Public Constructors
GetFriendsMethod()
Public Methods
GetFriendsResponse getFriends(GetFriendsRequest getFriendsRequest)
This method is used to retrieve a list of freinds.
[Expand]
Inherited Methods
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
From class java.lang.Object

Constants

public static final String PARAMS_KEY_NOZIP

this parameter decides whether zip the content with base64 encode or not.

Constant Value: "nozip"

Public Constructors

public GetFriendsMethod ()

Public Methods

public GetFriendsResponse getFriends (GetFriendsRequest getFriendsRequest)

This method is used to retrieve a list of freinds. 'params' is an array of the string where you can set additional parameters, which are: nozip - do not zip tree xml. On a successful result you will receive 's_get_friends' as the status and base64 encoded (and zipped) friends xml. Friends xml looks like this: ......

Parameters
getFriendsRequest Request
Returns
  • response
Throws
IOException io exception
BoxException box exceptoin