Class WebhookEntry
java.lang.Object
io.jans.orm.model.base.Entry
io.jans.ca.plugin.adminui.model.webhook.WebhookEntry
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHttpHeader(String key, String value) booleanList<io.jans.as.model.config.adminui.KeyValuePair>getInum()getUrl()inthashCode()booleanvoidsetAuiFeatureIds(Set<String> auiFeatureIds) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetHttpHeaders(List<io.jans.as.model.config.adminui.KeyValuePair> httpHeaders) voidsetHttpMethod(String httpMethod) voidsetHttpRequestBody(Map<String, Object> httpRequestBody) The function `setHttpRequestBody` sets the HTTP request body as a map and converts it to a JSON string using a utility method.voidsetHttpRequestBodyString(String httpRequestBodyString) The function sets the HTTP request body string and converts it to a map if it is a valid JSON string.voidvoidsetJansEnabled(boolean jansEnabled) voidtoString()Methods inherited from class io.jans.orm.model.base.Entry
getBaseDn, getDn, setBaseDn, setDn
-
Constructor Details
-
WebhookEntry
public WebhookEntry() -
WebhookEntry
-
-
Method Details
-
getHttpRequestBodyString
-
setHttpRequestBodyString
The function sets the HTTP request body string and converts it to a map if it is a valid JSON string.- Parameters:
httpRequestBodyString- The `setHttpRequestBodyString` method takes a string `httpRequestBodyString` as a parameter. This method sets the `httpRequestBodyString` field of the class to the provided string. It also attempts to convert the string to a map if it is a valid JSON string using the `CommonUtils
-
getInum
-
setInum
-
getDisplayName
-
setDisplayName
-
getUrl
-
setUrl
-
getHttpMethod
-
setHttpMethod
-
isJansEnabled
public boolean isJansEnabled() -
setJansEnabled
public void setJansEnabled(boolean jansEnabled) -
getHttpHeaders
-
setHttpHeaders
-
addHttpHeader
-
getDescription
-
setDescription
-
getHttpRequestBody
-
setHttpRequestBody
The function `setHttpRequestBody` sets the HTTP request body as a map and converts it to a JSON string using a utility method.- Parameters:
httpRequestBody- A map containing key-value pairs representing the HTTP request body.
-
getAuiFeatureIds
-
setAuiFeatureIds
-
equals
- Overrides:
equalsin classio.jans.orm.model.base.Entry
-
hashCode
public int hashCode()- Overrides:
hashCodein classio.jans.orm.model.base.Entry
-
toString
- Overrides:
toStringin classio.jans.orm.model.base.Entry
-