Class PutStreamZosmfRequest


  • public class PutStreamZosmfRequest
    extends ZosmfRequest
    Http put stream operation with binary content type
    Version:
    2.0
    Author:
    Frank Giordano
    • Constructor Detail

      • PutStreamZosmfRequest

        public PutStreamZosmfRequest​(ZosConnection connection)
        PutStreamZosmfRequest constructor
        Parameters:
        connection - connection information, see ZosConnection object
    • Method Detail

      • executeRequest

        public Response executeRequest()
                                throws kong.unirest.UnirestException
        Perform the http rest request
        Specified by:
        executeRequest in class ZosmfRequest
        Returns:
        Response object
        Throws:
        kong.unirest.UnirestException - processing request error
      • setBody

        public void setBody​(Object body)
        Set the body byte array value for request
        Specified by:
        setBody in class ZosmfRequest
        Parameters:
        body - byte array value
      • setStandardHeaders

        public void setStandardHeaders()
        Set the standard headers for the http request
        Specified by:
        setStandardHeaders in class ZosmfRequest