mockserver-client-java/src/main/java/org/mockserver/client/MockServerClient.java
public String retrieveLogMessages(HttpRequest httpRequest) {
        HttpResponse httpResponse = sendRequest(
            request()
                .withMethod("PUT")
                .withContentType(APPLICATION_JSON_UTF_8)
                .withPath(calculatePath("retrieve"))
                .withQueryStringParameter("type", RetrieveType.LOGS.name())
                .withBody(httpRequest != null ? httpRequestSerializer.serialize(httpRequest) : "", StandardCharsets.UTF_8)
        );
        return httpResponse.getBodyAsString();
    }
/**
     * Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etc
     *
     * @param httpRequest the http request that is matched against when deciding whether to return each request, use null for the parameter to retrieve for all requests
     * @return all log messages recorded by the MockServer when creating expectations, matching expectations, performing verification, clearing logs, etc
     */
Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etc
@param httpRequest the http request that is matched against when deciding whether to return each request, use null for the parameter to retrieve for all requests
@return all log messages recorded by the MockServer when creating expectations, matching expectations, performing verification, clearing logs, etc
Retrieve the logs associated to a specific requests this shows all logs for expectation matching verification clearing etc @param httpRequest the http request that is matched against when deciding whether to return each request use null for the parameter to retrieve for all requests @return all log messages recorded by the MockServer when creating expectations matching expectations performing verification clearing logs etc
public String retrieveLogMessages(HttpRequest httpRequest) {
        HttpResponse httpResponse = sendRequest(
            request()
                .withMethod("PUT")
                .withContentType(APPLICATION_JSON_UTF_8)
                .withPath(calculatePath("retrieve"))
                .withQueryStringParameter("type", RetrieveType.LOGS.name())
                .withBody(httpRequest != null ? httpRequestSerializer.serialize(httpRequest) : "", StandardCharsets.UTF_8)
        );
        return httpResponse.getBodyAsString();
    }
public String retrieveLogMessages ( HttpRequest httpRequest ) { HttpResponse httpResponse = sendRequest ( request ( ) . withMethod ( "PUT" ) . withContentType ( APPLICATION_JSON_UTF_8 ) . withPath ( calculatePath ( "retrieve" ) ) . withQueryStringParameter ( "type" , RetrieveType . LOGS . name ( ) ) . withBody ( httpRequest != null ? httpRequestSerializer . serialize ( httpRequest ) : "" , StandardCharsets . UTF_8 ) ) ; return httpResponse . getBodyAsString ( ) ; }
Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etc
 @param httpRequest the http request that is matched against when deciding whether to return each request, use null for the parameter to retrieve for all requests
 @return all log messages recorded by the MockServer when creating expectations, matching expectations, performing verification, clearing logs, etc
Retrieve the logs associated to a specific requests this shows all logs for expectation matching verification clearing etc @param httpRequest the http request that is matched against when deciding whether to return each request use null for the parameter to retrieve for all requests @return all log messages recorded by the MockServer when creating expectations matching expectations performing verification clearing logs etc