Class WebhookHeader

java.lang.Object
org.iplass.mtp.webhook.WebhookHeader

public class WebhookHeader
extends java.lang.Object
Class of the custom headers.
  • Constructor Summary

    Constructors 
    Constructor Description
    WebhookHeader()  
    WebhookHeader​(java.lang.String key, java.lang.String value)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getKey()
    Get the header name.
    java.lang.String getValue()
    Get the content for this header.
    void setKey​(java.lang.String key)
    Set the header name.
    void setValue​(java.lang.String value)
    Set the content for this header.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebhookHeader

      public WebhookHeader()
    • WebhookHeader

      public WebhookHeader​(java.lang.String key, java.lang.String value)
      Parameters:
      key - Header Name
      value - Content for this header
  • Method Details

    • getKey

      public java.lang.String getKey()
      Get the header name.
    • setKey

      public void setKey​(java.lang.String key)
      Set the header name.
      Parameters:
      key - Header Name
    • getValue

      public java.lang.String getValue()
      Get the content for this header.
    • setValue

      public void setValue​(java.lang.String value)
      Set the content for this header.
      Parameters:
      value - Header value