Skip to content

Commit f5df6c4

Browse files
committed
Update java docs 📝
- Update java docs for HTTPAgent.initializeHttp
1 parent c15dedf commit f5df6c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opensrp-app/src/main/java/org/smartregister/service/HTTPAgent.java

+4
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ public HTTPAgent(Context context, AllSharedPreferences
114114

115115
/**
116116
* This method initializes httpurlconnection
117+
*
118+
* @param requestURLPath This is the url to open http connection to.
119+
* @param setOauthToken A boolean to flag whether to set the OAuth2 bearer access token in the Authorization header of request.
120+
* @return HttpURLConnection Http connection to the OpenSRP server.
117121
*/
118122
private HttpURLConnection initializeHttp(String requestURLPath, boolean setOauthToken) throws IOException {
119123

0 commit comments

Comments
 (0)