Class ZoweRequestFactory


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

      • ZoweRequestFactory

        public ZoweRequestFactory()
    • 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.VerbType object
        Returns:
        ZoweRequest value
        Throws:
        Exception - error with type not found