Class ZoweRequestFactory


  • public final class ZoweRequestFactory
    extends Object
    Zowe request factory that generates the desire CRUD operation
    Version:
    2.0
    Author:
    Frank Giordano
    • Method Detail

      • buildRequest

        public static ZoweRequest buildRequest​(ZosConnection connection,
                                               ZoweRequestType type)
                                        throws Exception
        Assign the request to the Http verb type request object
        Parameters:
        connection - connection information, see ZosConnection object
        type - request http type, see ZoweRequestType object
        Returns:
        ZoweRequest abstract object of ZoweRequestType value
        Throws:
        Exception - error with type not found