public Recording getRecording(String recordingId) throws OpenViduJavaClientException, OpenViduHttpException {
		HttpGet request = new HttpGet(OpenVidu.urlOpenViduServer + API_RECORDINGS + "/" + recordingId);
		HttpResponse response;
		try {
			response = OpenVidu.httpClient.execute(request);
		} catch (IOException e) {
			throw new OpenViduJavaClientException(e.getMessage(), e.getCause());
		}

		try {
			int statusCode = response.getStatusLine().getStatusCode();
			if ((statusCode == org.apache.http.HttpStatus.SC_OK)) {
				return new Recording(httpResponseToJson(response));
			} else {
				throw new OpenViduHttpException(statusCode);
			}
		} finally {
			EntityUtils.consumeQuietly(response.getEntity());
		}
	}
public Recording getRecording ( String recordingId ) throws OpenViduJavaClientException , OpenViduHttpException { HttpGet request = new HttpGet ( OpenVidu . urlOpenViduServer + API_RECORDINGS + "/" + recordingId ) ; HttpResponse response ; try { response = OpenVidu . httpClient . execute ( request ) ; } catch ( IOException e ) { throw new OpenViduJavaClientException ( e . getMessage ( ) , e . getCause ( ) ) ; } try { int statusCode = response . getStatusLine ( ) . getStatusCode ( ) ; if ( ( statusCode == org . apache . http . HttpStatus . SC_OK ) ) { return new Recording ( httpResponseToJson ( response ) ) ; } else { throw new OpenViduHttpException ( statusCode ) ; } } finally { EntityUtils . consumeQuietly ( response . getEntity ( ) ) ; } }
Gets an existing recording

@param recordingId The id property of the recording you want to retrieve

@throws OpenViduJavaClientException
@throws OpenViduHttpException       Value returned from
{@link io.openvidu.java.client.OpenViduHttpException#getStatus()}
<ul>
<li><code>404</code>: no recording exists
for the passed <i>recordingId</i></li>
</ul>