Package org.luwrain.io.api.lsocial
Class Query<E,R>
java.lang.Object
org.luwrain.io.api.lsocial.Query<E,R>
- Direct Known Subclasses:
AuthQuery
,CaptureInfoQuery
,ChangePasswordQuery
,CreateQuery
,CreateQuery
,CreateSectionQuery
,DeleteQuery
,DeleteQuery
,GetAccountInfoQuery
,GetChatMessagesQuery
,GetPrivateChatQuery
,GetQuery
,GetSectionQuery
,ListQuery
,ListQuery
,ListQuery
,RegisterQuery
,SendTextMessageQuery
,UpdateSectionQuery
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String value) protected InputStream
protected InputStream
protected InputStream
protected InputStream
protected InputStream
exec()
protected R
execGet()
protected <R> R
protected R
execPost()
-
Field Details
-
CHARSET
- See Also:
-
gson
protected static Gson gson -
args
-
-
Constructor Details
-
Query
-
-
Method Details
-
exec
- Throws:
IOException
-
execGet
- Throws:
IOException
-
execPost
- Throws:
IOException
-
accessToken
-
doGet
- Throws:
IOException
-
doGet
- Throws:
IOException
-
doGet
protected InputStream doGet(String resource, Map<String, String> args, boolean useEndpoint) throws IOException- Throws:
IOException
-
doUpload
- Throws:
IOException
-
doPost
- Throws:
IOException
-
doPost
- Throws:
IOException
-
execGet
- Throws:
IOException
-