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 InputStreamprotected InputStreamprotected InputStreamprotected InputStreamprotected InputStreamexec()protected RexecGet()protected <R> Rprotected RexecPost()
-
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
-