Constructor and Description |
---|
OperationConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
MessageEncryption |
getEncryptionMessage()
Gets the encryption message.
|
byte[] |
getEncryptionPassword()
Gets the encryption password.
|
String |
getEncryptionUserName()
Gets the encryption user name.
|
HttpMethod |
getHttpMethod()
Gets the http method.
|
Function<Throwable,Boolean> |
getIfRetry()
Gets the if retry.
|
HttpSettings |
getRequestSettings()
Gets the request settings.
|
String |
getRequestUrl()
Gets the request url.
|
long |
getRetryInterval()
Gets the retry interval.
|
int |
getRetryTimes()
Gets the retry times.
|
int |
hashCode() |
HttpProxy.OperationConfig |
setEncryptionMessage(MessageEncryption encryptionMessage)
The target request DTOs must inherit from
SecurityDTO . |
HttpProxy.OperationConfig |
setEncryptionPassword(byte[] encryptionPassword)
The target request DTOs must inherit from
SecurityDTO . |
HttpProxy.OperationConfig |
setEncryptionUserName(String encryptionUserName)
The target request DTOs must inherit from
SecurityDTO . |
HttpProxy.OperationConfig |
setHttpMethod(HttpMethod httpMethod)
Sets the http method.
|
HttpProxy.OperationConfig |
setIfRetry(Function<Throwable,Boolean> ifRetry)
Sets the if retry.
|
HttpProxy.OperationConfig |
setRequestSettings(HttpSettings requestSettings)
Sets the request settings.
|
HttpProxy.OperationConfig |
setRequestUrl(String requestUrl)
Sets the request url.
|
HttpProxy.OperationConfig |
setRetryInterval(long retryInterval)
Sets the retry interval.
|
HttpProxy.OperationConfig |
setRetryTimes(int retryTimes)
Sets the retry times.
|
String |
toString() |
public String getRequestUrl()
public HttpProxy.OperationConfig setRequestUrl(String requestUrl)
requestUrl
- public HttpMethod getHttpMethod()
public HttpProxy.OperationConfig setHttpMethod(HttpMethod httpMethod)
httpMethod
- public HttpSettings getRequestSettings()
public HttpProxy.OperationConfig setRequestSettings(HttpSettings requestSettings)
requestSettings
- public int getRetryTimes()
public HttpProxy.OperationConfig setRetryTimes(int retryTimes)
retryTimes
- public long getRetryInterval()
public HttpProxy.OperationConfig setRetryInterval(long retryInterval)
retryInterval
- public HttpProxy.OperationConfig setIfRetry(Function<Throwable,Boolean> ifRetry)
ifRetry
- public String getEncryptionUserName()
public HttpProxy.OperationConfig setEncryptionUserName(String encryptionUserName)
SecurityDTO
.encryptionUserName
- SecurityDTO.encrypt(String, String)
public byte[] getEncryptionPassword()
public HttpProxy.OperationConfig setEncryptionPassword(byte[] encryptionPassword)
SecurityDTO
.encryptionPassword
- SecurityDTO.encrypt(String, String)
public MessageEncryption getEncryptionMessage()
public HttpProxy.OperationConfig setEncryptionMessage(MessageEncryption encryptionMessage)
SecurityDTO
.encryptionMessage
- SecurityDTO.encrypt(String, String)
public boolean equals(Object obj)
Copyright © 2019. All rights reserved.