Class TextPutRequest


  • public class TextPutRequest
    extends ZoweRequest
    Http put operation with text content type
    Version:
    2.0
    Author:
    Frank Giordano
    • Constructor Detail

      • TextPutRequest

        public TextPutRequest​(ZosConnection connection)
        TextPutRequest 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 ZoweRequest
        Returns:
        Response object
        Throws:
        kong.unirest.UnirestException - processing request error
      • setBody

        public void setBody​(Object body)
        Set the body information for the http request
        Specified by:
        setBody in class ZoweRequest
        Parameters:
        body - String value
      • setStandardHeaders

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