Class DataWranglerResponseImpl

    • Constructor Detail

      • DataWranglerResponseImpl

        public DataWranglerResponseImpl()
    • Method Detail

      • getBody

        public java.lang.String getBody()
                                 throws java.io.IOException
        Specified by:
        getBody in interface SimpleResponseWrapper
        Returns:
        response body as String
        Throws:
        java.io.IOException
      • getMessage

        public java.lang.String getMessage()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        Specified by:
        getHeaders in interface SimpleResponseWrapper
        Returns:
        Response headers
      • setResponse

        public void setResponse​(okhttp3.Response response)
                         throws java.io.IOException
        Description copied from interface: SimpleResponseWrapper
        Populate Response parameters
        Specified by:
        setResponse in interface SimpleResponseWrapper
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException