@Test public void testGetContentType() { WebHookPayloadJson whp = new WebHookPayloadJson(null, variableResolverManager); assertEquals(whp.getContentType().toString(), "application/json"); }
public String getContentType() { return "application/json"; }
WebHookPayloadJson extends WebHookPayloadGeneric implements WebHookPayload { public String getContentType() { return "application/json"; } }
WebHookPayloadJson extends WebHookPayloadGeneric implements WebHookPayload { public String getContentType() { return "application/json"; } WebHookPayloadJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); }
WebHookPayloadJson extends WebHookPayloadGeneric implements WebHookPayload { public String getContentType() { return "application/json"; } WebHookPayloadJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); void register(); String getFormatDescription(); String getFormatShortName(); String getFormatToolTipText(); String getContentType(); Integer getRank(); void setRank(Integer rank); String getCharset(); @Override WebHookStringRenderer getWebHookStringRenderer(); @Override PayloadTemplateEngineType getTemplateEngineType(); }
WebHookPayloadJson extends WebHookPayloadGeneric implements WebHookPayload { public String getContentType() { return "application/json"; } WebHookPayloadJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); void register(); String getFormatDescription(); String getFormatShortName(); String getFormatToolTipText(); String getContentType(); Integer getRank(); void setRank(Integer rank); String getCharset(); @Override WebHookStringRenderer getWebHookStringRenderer(); @Override PayloadTemplateEngineType getTemplateEngineType(); static final String FORMAT_SHORT_NAME; }