Interface WebhookTemplate

    • Method Detail

      • getHttpMethod

        org.springframework.http.HttpMethod getHttpMethod()
        Return Http Method. Supported Methods :
        • HttpMethod.POST
        • HttpMethod.GET
        • HttpMethod.PUT
        • HttpMethod.DELETE
        Returns:
      • setHttpMethod

        void setHttpMethod​(org.springframework.http.HttpMethod httpMethod)
      • getHeaders

        String getHeaders()
        Returns unparsed headers. Bamboo variables are supported here in format ${bammbo.variableName}. One header for one line, key and value separated by ':'
        Returns:
        unparsed headers
      • setHeaders

        void setHeaders​(String headers)
      • getPayload

        String getPayload()
        Returns http request body. It can be i.e. json, xml. Bamboo variables are supported here in format ${bammbo.variableName}.
        Returns:
        payload
      • setPayload

        void setPayload​(String payload)
      • setName

        void setName​(String name)