Class CMAWebhookResponse


  • public class CMAWebhookResponse
    extends java.lang.Object
    Model representing the response Contentful received from calling the Webhook.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBody()  
      java.util.Map<java.lang.String,​java.lang.String> getHeaders()  
      java.lang.Integer getStatusCode()  
      java.lang.String getUrl()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CMAWebhookResponse

        public CMAWebhookResponse()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Returns:
        The url called by Contentful from this Webhook.
      • getBody

        public java.lang.String getBody()
        Returns:
        The body Contentful received from calling the Webhook.
      • getHeaders

        public java.util.Map<java.lang.String,​java.lang.String> getHeaders()
        Returns:
        The headers returned by calling the Webhook.
      • getStatusCode

        public java.lang.Integer getStatusCode()
        Returns:
        A status code, returned by calling the Webhook.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a human readable string, representing the object.