public GetMediaInfoOfFileResponse getMediaInfoOfFile(GetMediaInfoOfFileRequest request) {
        checkNotNull(request, "The parameter request should NOT be null.");
        checkStringNotEmpty(request.getBucket(), "The parameter bucket should NOT be null or empty string.");
        checkStringNotEmpty(request.getKey(), "The parameter key should NOT be null or empty string.");
        InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, MEDIAINFO);
        internalRequest.addParameter("bucket", request.getBucket());
        internalRequest.addParameter("key", request.getKey());
        return invokeHttpClient(internalRequest, GetMediaInfoOfFileResponse.class);
    }
public GetMediaInfoOfFileResponse getMediaInfoOfFile ( GetMediaInfoOfFileRequest request ) { checkNotNull ( request , "The parameter request should NOT be null." ) ; checkStringNotEmpty ( request . getBucket ( ) , "The parameter bucket should NOT be null or empty string." ) ; checkStringNotEmpty ( request . getKey ( ) , "The parameter key should NOT be null or empty string." ) ; InternalRequest internalRequest = createRequest ( HttpMethodName . GET , request , MEDIAINFO ) ; internalRequest . addParameter ( "bucket" , request . getBucket ( ) ) ; internalRequest . addParameter ( "key" , request . getKey ( ) ) ; return invokeHttpClient ( internalRequest , GetMediaInfoOfFileResponse . class ) ; }
Retrieve the media information of an object in Bos bucket.

@param request The request object containing all options for retrieving media information.

@return The media information of an object in Bos bucket.