mirror of https://github.com/OpenVidu/openvidu.git
Merge f4d5677ef8
into db2748367c
commit
800d7b3de3
|
@ -119,10 +119,6 @@ public class Session {
|
|||
*/
|
||||
@Deprecated
|
||||
public String generateToken(TokenOptions tokenOptions) throws OpenViduJavaClientException, OpenViduHttpException {
|
||||
if (!this.hasSessionId()) {
|
||||
this.getSessionId();
|
||||
}
|
||||
|
||||
final HttpClientResponseHandler<String> responseHandler = new HttpClientResponseHandler<String>() {
|
||||
@Override
|
||||
public String handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {
|
||||
|
@ -182,10 +178,6 @@ public class Session {
|
|||
*/
|
||||
public Connection createConnection(ConnectionProperties connectionProperties)
|
||||
throws OpenViduJavaClientException, OpenViduHttpException {
|
||||
if (!this.hasSessionId()) {
|
||||
this.getSessionId();
|
||||
}
|
||||
|
||||
final HttpClientResponseHandler<Connection> responseHandler = new HttpClientResponseHandler<Connection>() {
|
||||
@Override
|
||||
public Connection handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {
|
||||
|
|
Loading…
Reference in New Issue