Class LoggingInterceptor.Body

java.lang.Object
sk.antons.sbutils.http.LoggingInterceptor.Body
Enclosing class:
LoggingInterceptor

public static class LoggingInterceptor.Body extends Object
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 Details

    • Body

      public Body()
  • Method Details

    • xml

      public static XmlStreamToString xml()
      Converts content to xml and allows to format it.
    • json

      public static JsonStreamToString json()
      Converts content to json and allows to format it.