Class ResponseUtil


  • public class ResponseUtil
    extends Object
    Utility class contains helper methods for response processing
    Version:
    5.0
    Author:
    Frank Giordano
    • Method Detail

      • getResponseStr

        public static String getResponseStr​(ZosmfRequest request,
                                            String msg)
                                     throws ZosmfRequestException
        Helper method calls to perform the request http request and returns the response object as a string value.
        Parameters:
        request - request object for performing http call
        msg - error message string content
        Returns:
        response object as a string value of the http call
        Throws:
        ZosmfRequestException - request error state