| Modifier and Type | Method and Description |
|---|---|
void |
SoroushBotEndpoint.handleDownloadFiles(SoroushMessage message)
check whether
fileUrl(thumbnailUrl) is null or not, and download
the resource if it is not null this function only set file to InputStream get from
Response.readEntity(Class) )} and does not store the resource in file. |
| Modifier and Type | Method and Description |
|---|---|
SoroushMessage |
SoroushMessage.clone() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
SoroushService.assertSuccessful(javax.ws.rs.core.Response response,
Class<T> responseType,
SoroushMessage soroushMessage)
throw IOException if the exception is instance of SoroushException it indicates that the soroush does not accept
the message and therefore resending the request will never be succeed
|
SoroushResponse |
SoroushService.assertSuccessful(javax.ws.rs.core.Response response,
SoroushMessage soroushMessage)
check if the response is successfully sent to soroush, by default it assumes that the response type is
SoroushResponse
|
| Modifier and Type | Method and Description |
|---|---|
SoroushMessage |
CongestionException.getSoroushMessage() |
| Constructor and Description |
|---|
CongestionException(Throwable cause,
SoroushMessage soroushMessage) |
MaximumConnectionRetryReachedException(String message,
SoroushMessage soroushMessage) |
MaximumConnectionRetryReachedException(String message,
Throwable cause,
SoroushMessage soroushMessage) |
SoroushException(SoroushMessage soroushMessage,
SoroushResponse soroushResponse,
Integer status,
String responseBody) |
Apache Camel