mirror of https://github.com/OpenVidu/openvidu.git
openvidu-java-client : Remove redundant getSessionId()
parent
39f9ba085e
commit
f4d5677ef8
|
@ -119,10 +119,6 @@ public class Session {
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public String generateToken(TokenOptions tokenOptions) throws OpenViduJavaClientException, OpenViduHttpException {
|
public String generateToken(TokenOptions tokenOptions) throws OpenViduJavaClientException, OpenViduHttpException {
|
||||||
if (!this.hasSessionId()) {
|
|
||||||
this.getSessionId();
|
|
||||||
}
|
|
||||||
|
|
||||||
final HttpClientResponseHandler<String> responseHandler = new HttpClientResponseHandler<String>() {
|
final HttpClientResponseHandler<String> responseHandler = new HttpClientResponseHandler<String>() {
|
||||||
@Override
|
@Override
|
||||||
public String handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {
|
public String handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {
|
||||||
|
|
Loading…
Reference in New Issue