Class CMAWebhookHeader


  • public class CMAWebhookHeader
    extends java.lang.Object
    A 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.String getKey()  
      java.lang.String getValue()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • CMAWebhookHeader

        public CMAWebhookHeader​(java.lang.String key,
                                java.lang.String value)
        Create new header, using key and value.
        Parameters:
        key - for this header.
        value - stored in this header.
    • 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:
        toString in class java.lang.Object
        Returns:
        a human readable string, representing the object.