Class TsoUtil


  • public class TsoUtil
    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)
                                     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
        Returns:
        response object as a string value of the http call
        Throws:
        ZosmfRequestException - request error state
      • getMsgDataText

        public static String getMsgDataText​(String responseStr)
        Retrieve error message text from response string value.
        Parameters:
        responseStr - response string value
        Returns:
        error message text