Class LoggedResponse


  • public class LoggedResponse
    extends java.lang.Object
    • Constructor Detail

      • LoggedResponse

        public LoggedResponse​(int status,
                              HttpHeaders headers,
                              java.lang.String bodyAsBase64,
                              Fault fault,
                              java.lang.String ignoredBodyOnlyUsedForBinding)
    • Method Detail

      • getStatus

        public int getStatus()
      • getBodyAsString

        public java.lang.String getBodyAsString()
        Retrieve body as a String encoded in the charset in the "Content-Type" header, or, if that's not present, the default character set (UTF-8)
        Returns:
        Encoded string
      • getMimeType

        public java.lang.String getMimeType()
      • getCharset

        public java.nio.charset.Charset getCharset()
      • getBody

        public byte[] getBody()
      • getBodyAsBase64

        public java.lang.String getBodyAsBase64()
      • getFault

        public Fault getFault()