Package sk.antons.sbutils.http
Class LoggingInterceptor.Body
java.lang.Object
sk.antons.sbutils.http.LoggingInterceptor.Body
- Enclosing class:
- LoggingInterceptor
Helper class for default Body to string converters.
Implementation uses io.github.antonsjava:jaul and io.github.antonsjava:json as runtime dependeces ....you must add it too
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonStreamToStringjson()Converts content to json and allows to format it.static XmlStreamToStringxml()Converts content to xml and allows to format it.
-
Constructor Details
-
Body
public Body()
-
-
Method Details
-
xml
Converts content to xml and allows to format it. -
json
Converts content to json and allows to format it.
-