public interface ContentPreviewer
RequestLog.| Modifier and Type | Method and Description |
|---|---|
static ContentPreviewer |
disabled()
Returns a dummy
ContentPreviewer which produces null. |
default boolean |
isDisabled()
Returns whether this
ContentPreviewer is disabled() or not. |
void |
onData(HttpData data)
Invoked after request/response data is received.
|
String |
produce()
Produces the preview of the request or response.
|
static ContentPreviewer disabled()
ContentPreviewer which produces null.default boolean isDisabled()
ContentPreviewer is disabled() or not.void onData(HttpData data)
String produce()
null if this previewer is disabled or does not produce anythingCopyright © 2020 LeanCloud. All rights reserved.