mockserver-client-java/src/main/java/org/mockserver/client/MockServerClient.java
public LogEventRequestAndResponse[] retrieveRecordedRequestsAndResponses(HttpRequest httpRequest) {
        String recordedRequests = retrieveRecordedRequestsAndResponses(httpRequest, Format.JSON);
        if (isNotEmpty(recordedRequests) && !recordedRequests.equals("[]")) {
            return httpRequestResponseSerializer.deserializeArray(recordedRequests);
        } else {
            return new LogEventRequestAndResponse[0];
        }
    }
/**
     * Retrieve the recorded requests and responses that match the httpRequest parameter, use null for the parameter to retrieve all requests and responses
     *
     * @param httpRequest the http request that is matched against when deciding whether to return each request (and its corresponding response), use null for the parameter to retrieve for all requests
     * @return an array of all requests and responses that have been recorded by the MockServer in the order they have been received and including duplicates where the same request has been received multiple times
     */
Retrieve the recorded requests and responses that match the httpRequest parameter, use null for the parameter to retrieve all requests and responses
@param httpRequest the http request that is matched against when deciding whether to return each request (and its corresponding response), use null for the parameter to retrieve for all requests
@return an array of all requests and responses that have been recorded by the MockServer in the order they have been received and including duplicates where the same request has been received multiple times
Retrieve the recorded requests and responses that match the httpRequest parameter use null for the parameter to retrieve all requests and responses @param httpRequest the http request that is matched against when deciding whether to return each request ( and its corresponding response ) use null for the parameter to retrieve for all requests @return an array of all requests and responses that have been recorded by the MockServer in the order they have been received and including duplicates where the same request has been received multiple times
public LogEventRequestAndResponse[] retrieveRecordedRequestsAndResponses(HttpRequest httpRequest) {
        String recordedRequests = retrieveRecordedRequestsAndResponses(httpRequest, Format.JSON);
        if (isNotEmpty(recordedRequests) && !recordedRequests.equals("[]")) {
            return httpRequestResponseSerializer.deserializeArray(recordedRequests);
        } else {
            return new LogEventRequestAndResponse[0];
        }
    }
public LogEventRequestAndResponse [ ] retrieveRecordedRequestsAndResponses ( HttpRequest httpRequest ) { String recordedRequests = retrieveRecordedRequestsAndResponses ( httpRequest , Format . JSON ) ; if ( isNotEmpty ( recordedRequests ) && ! recordedRequests . equals ( "[]" ) ) { return httpRequestResponseSerializer . deserializeArray ( recordedRequests ) ; } else { return new LogEventRequestAndResponse [ 0 ] ; } }
Retrieve the recorded requests and responses that match the httpRequest parameter, use null for the parameter to retrieve all requests and responses
 @param httpRequest the http request that is matched against when deciding whether to return each request (and its corresponding response), use null for the parameter to retrieve for all requests
 @return an array of all requests and responses that have been recorded by the MockServer in the order they have been received and including duplicates where the same request has been received multiple times
Retrieve the recorded requests and responses that match the httpRequest parameter use null for the parameter to retrieve all requests and responses @param httpRequest the http request that is matched against when deciding whether to return each request ( and its corresponding response ) use null for the parameter to retrieve for all requests @return an array of all requests and responses that have been recorded by the MockServer in the order they have been received and including duplicates where the same request has been received multiple times