public static class HttpProxy.OperationConfig
extends java.lang.Object
Constructor and Description |
---|
OperationConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MessageEncryption |
getEncryptionMessage() |
byte[] |
getEncryptionPassword() |
java.lang.String |
getEncryptionUserName() |
HttpMethod |
getHttpMethod() |
Function<java.lang.Throwable,java.lang.Boolean> |
getIfRetry() |
java.util.Map<java.lang.String,java.lang.Object> |
getRequestSettings() |
java.lang.String |
getRequestUrl() |
long |
getRetryInterval() |
int |
getRetryTimes() |
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(java.lang.String encryptionUserName)
The target request DTOs must inherit from
SecurityDTO . |
HttpProxy.OperationConfig |
setHttpMethod(HttpMethod httpMethod) |
HttpProxy.OperationConfig |
setIfRetry(Function<java.lang.Throwable,java.lang.Boolean> ifRetry) |
HttpProxy.OperationConfig |
setRequestSettings(java.util.Map<java.lang.String,java.lang.Object> requestSettings) |
HttpProxy.OperationConfig |
setRequestUrl(java.lang.String requestUrl) |
HttpProxy.OperationConfig |
setRetryInterval(long retryInterval) |
HttpProxy.OperationConfig |
setRetryTimes(int retryTimes) |
java.lang.String |
toString() |
public java.lang.String getRequestUrl()
public HttpProxy.OperationConfig setRequestUrl(java.lang.String requestUrl)
public HttpMethod getHttpMethod()
public HttpProxy.OperationConfig setHttpMethod(HttpMethod httpMethod)
public java.util.Map<java.lang.String,java.lang.Object> getRequestSettings()
public HttpProxy.OperationConfig setRequestSettings(java.util.Map<java.lang.String,java.lang.Object> requestSettings)
public int getRetryTimes()
public HttpProxy.OperationConfig setRetryTimes(int retryTimes)
public long getRetryInterval()
public HttpProxy.OperationConfig setRetryInterval(long retryInterval)
public Function<java.lang.Throwable,java.lang.Boolean> getIfRetry()
public HttpProxy.OperationConfig setIfRetry(Function<java.lang.Throwable,java.lang.Boolean> ifRetry)
public java.lang.String getEncryptionUserName()
public HttpProxy.OperationConfig setEncryptionUserName(java.lang.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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object