Package org.apache.juneau.rest.mock
Class BasicTestRestDebugFormatter
java.lang.Object
org.apache.juneau.rest.server.logging.BasicRestDebugFormatter
org.apache.juneau.rest.mock.BasicTestRestDebugFormatter
- All Implemented Interfaces:
RestDebugFormatter
Default
RestDebugFormatter registered by MockRestClient / mock.classic.MockRestClient for
mocked resources.
Identical to BasicRestDebugFormatter today — the shipped defaults (credential-bearing header
redaction, an 8 KB body capture cap) are already test-safe. Kept as a distinct type, rather than registering
BasicRestDebugFormatter directly, so mock-specific rendering can be layered in independently of the
server's shipped default without affecting non-mock resources.
See Also:
- Since:
- 10.0.0
-
Field Summary
Fields inherited from class org.apache.juneau.rest.server.logging.BasicRestDebugFormatter
bodyCap, bodyScrubber, DEFAULT_BODY_CAP, maxFieldLength, maxHeaders, maxHeaderScan, maxUriLength, redactedHeadersFields inherited from interface org.apache.juneau.rest.server.logging.RestDebugFormatter
DEFAULT_MAX_URI_LENGTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.rest.server.logging.BasicRestDebugFormatter
addRedactedHeaders, bodyCap, bodyCap, bodyScrubber, formatBasic, formatBody, formatHeaders, maxFieldLength, maxHeaders, maxHeaderScan, maxUriLength, redactedHeaders, statusLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.juneau.rest.server.logging.RestDebugFormatter
isBodyRenderable
-
Constructor Details
-
BasicTestRestDebugFormatter
public BasicTestRestDebugFormatter()
-