WLDFBean
, WLDFNotificationBean
public interface WLDFRESTNotificationBean extends WLDFNotificationBean
Use this interface to define a REST action, which is sent
when a diagnostic policy evaluates to true
.
Note: As of WebLogic Server 12.2.1, the terms watch and notification are replaced by policy and action, respectively. However, the definition of these terms has not changed.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BASIC_HTTP_AUTH |
|
static java.lang.String |
NO_HTTP_AUTH |
|
static java.lang.String |
REST_POST_METHOD |
|
static java.lang.String |
REST_PUT_METHOD |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAcceptedResponseType() |
Configures the Accept header of the HTTP request to the REST end point.
|
java.util.Properties |
getCustomNotificationProperties() |
Allows customizing the JSON object delivered to the REST end point.
|
java.lang.String |
getEndpointURL() |
The REST end point URL which will be invoked with the action payload.
|
java.lang.String |
getHttpAuthenticationMode() |
The HTTP authentication mode when invoking the REST end point URL.
|
java.lang.String |
getHttpAuthenticationPassword() |
The HTTP authentication password when the REST end point is secured.
|
byte[] |
getHttpAuthenticationPasswordEncrypted() |
The encrypted HTTP authentication password when the REST end point is secured.
|
java.lang.String |
getHttpAuthenticationUserName() |
The HTTP authentication user name when the REST end point is secured.
|
java.lang.String |
getRestInvocationMethodType() |
The REST method for invoking the end point.
|
void |
setAcceptedResponseType(java.lang.String mimeType) |
Configures the Accept header of the HTTP request to the REST end point.
|
void |
setEndpointURL(java.lang.String restEndpointUrl) |
Set REST end point url which will be invoked with the action payload
|
void |
setHttpAuthenticationMode(java.lang.String httpAuthenticationMode) |
Set HTTP authentication mode
|
void |
setHttpAuthenticationPassword(java.lang.String password) |
Set HTTP authentication password for authentication
|
void |
setHttpAuthenticationPasswordEncrypted(byte[] password) |
Set encrypted HTTP authentication password
|
void |
setHttpAuthenticationUserName(java.lang.String userName) |
Set the HTTP authentication user name when the REST end point is secured.
|
void |
setRestInvocationMethodType(java.lang.String restMethod) |
Set REST method for invoking end point
|
getTimeout, isEnabled, setEnabled, setTimeout
static final java.lang.String NO_HTTP_AUTH
static final java.lang.String BASIC_HTTP_AUTH
static final java.lang.String REST_PUT_METHOD
static final java.lang.String REST_POST_METHOD
java.lang.String getEndpointURL()
The REST end point URL which will be invoked with the action payload.
void setEndpointURL(java.lang.String restEndpointUrl)
Set REST end point url which will be invoked with the action payload
restEndpointUrl
- REST end point urljava.lang.String getRestInvocationMethodType()
The REST method for invoking the end point.
void setRestInvocationMethodType(java.lang.String restMethod)
Set REST method for invoking end point
restMethod
- REST methodjava.lang.String getAcceptedResponseType()
Configures the Accept header of the HTTP request to the REST end point. The response entity of the REST invocation is ignored by the server.
void setAcceptedResponseType(java.lang.String mimeType)
Configures the Accept header of the HTTP request to the REST end point. The response entity of the REST invocation is ignored by the server.
mimeType
- java.lang.String getHttpAuthenticationMode()
The HTTP authentication mode when invoking the REST end point URL.
void setHttpAuthenticationMode(java.lang.String httpAuthenticationMode)
Set HTTP authentication mode
httpAuthenticationMode
- Authentication mode to be used.java.lang.String getHttpAuthenticationUserName()
The HTTP authentication user name when the REST end point is secured.
void setHttpAuthenticationUserName(java.lang.String userName)
Set the HTTP authentication user name when the REST end point is secured.
userName
- User name for authenticationjava.lang.String getHttpAuthenticationPassword()
The HTTP authentication password when the REST end point is secured.
void setHttpAuthenticationPassword(java.lang.String password)
Set HTTP authentication password for authentication
password
- byte[] getHttpAuthenticationPasswordEncrypted()
The encrypted HTTP authentication password when the REST end point is secured.
void setHttpAuthenticationPasswordEncrypted(byte[] password)
Set encrypted HTTP authentication password
password
- Encrypted passwordjava.util.Properties getCustomNotificationProperties()
Allows customizing the JSON object delivered to the REST end point.