Class DescriptionProcessor
java.lang.Object
org.mockserver.dashboard.serializers.DescriptionProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionDescriptionProcessor(org.mockserver.configuration.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptiondescription(Object object) description(Object object, String id) intintintintreceivedRequestDescription(Object request, Integer binaryLength) Asdescription(Object), also describing a DNS query by its name and type, and a binary message by its length and first bytes in hex.
-
Constructor Details
-
DescriptionProcessor
public DescriptionProcessor(org.mockserver.configuration.Configuration configuration) - Parameters:
configuration- the running server's configuration, which applies to what parsing an OpenAPI spec fetches
-
-
Method Details
-
getMaxHttpRequestLength
public int getMaxHttpRequestLength() -
getMaxOpenAPILength
public int getMaxOpenAPILength() -
getMaxOpenAPIObjectLength
public int getMaxOpenAPIObjectLength() -
getMaxLogEventLength
public int getMaxLogEventLength() -
description
-
description
-
receivedRequestDescription
Asdescription(Object), also describing a DNS query by its name and type, and a binary message by its length and first bytes in hex. The bytes are left out whenredactSecretsInLogis on, as the message itself is masked then.- Parameters:
binaryLength- the length of a binary message as received, which may be longer than the bytes the dashboard shows;nullto use the length of the bytes inrequest
-