Package com.contentful.java.cma.model
Class CMAWebhookHeader
- java.lang.Object
-
- com.contentful.java.cma.model.CMAWebhookHeader
-
public class CMAWebhookHeader extends java.lang.ObjectA custom header for webhooks.
-
-
Constructor Summary
Constructors Constructor Description CMAWebhookHeader(java.lang.String key, java.lang.String value)Create new header, using key and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()java.lang.StringgetValue()java.lang.StringtoString()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Returns:
- A key associated with this header.
-
getValue
public java.lang.String getValue()
- Returns:
- The value associated with this header.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-