mirror of https://github.com/OpenVidu/openvidu.git
Merge f4d5677ef8
into db2748367c
commit
800d7b3de3
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue