Android end get sessionid
Springboot background the sessionid
Android client receives the session code
JSONObject JSONObject=new JSONObject (the response body (), string ());
//if (jsonObject. Get int (" code ")==200) {
Headers Headers.=the response Headers ();
ListCookies=headers. Values (" Set - cookies ");
String=session cookies. Get (0);
String sessionid=session. The substring (0, session. IndexOf (";" ));
The v (" session ", the session).
The v (" sessionid "sessionid);