Package com.contentful.java.cma.model
Class CMAWebhookResponse
- java.lang.Object
-
- com.contentful.java.cma.model.CMAWebhookResponse
-
public class CMAWebhookResponse extends java.lang.ObjectModel representing the response Contentful received from calling the Webhook.
-
-
Constructor Summary
Constructors Constructor Description CMAWebhookResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBody()java.util.Map<java.lang.String,java.lang.String>getHeaders()java.lang.IntegergetStatusCode()java.lang.StringgetUrl()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-