pull/820/merge
Choi Jong Myung 2024-06-25 10:42:43 -05:00 committed by GitHub
commit 800d7b3de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -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 {
@ -182,10 +178,6 @@ public class Session {
*/ */
public Connection createConnection(ConnectionProperties connectionProperties) public Connection createConnection(ConnectionProperties connectionProperties)
throws OpenViduJavaClientException, OpenViduHttpException { throws OpenViduJavaClientException, OpenViduHttpException {
if (!this.hasSessionId()) {
this.getSessionId();
}
final HttpClientResponseHandler<Connection> responseHandler = new HttpClientResponseHandler<Connection>() { final HttpClientResponseHandler<Connection> responseHandler = new HttpClientResponseHandler<Connection>() {
@Override @Override
public Connection handleResponse(final ClassicHttpResponse response) throws IOException, HttpException { public Connection handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {