Package com.ultikits.ultitools.utils
Class UltiCloudRequests.Result
java.lang.Object
com.ultikits.ultitools.utils.UltiCloudRequests.Result
- Enclosing class:
UltiCloudRequests
@Deprecated(since="6.3.1",
forRemoval=true)
public static final class UltiCloudRequests.Result
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
The result of one call: an
UltiCloudRequests.Outcome, and for a completed exchange its status and body.
Carries no request header and no credential.- Since:
- 6.3.0
- Scheduled removal version:
- 6.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringDeprecated, for removal: This API element is subject to removal in a future version.private final UltiCloudRequests.OutcomeDeprecated, for removal: This API element is subject to removal in a future version.private final intDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateResult(UltiCloudRequests.Outcome outcome, int statusCode, String body) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetBody()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.private static UltiCloudRequests.ResultwithoutExchange(UltiCloudRequests.Outcome outcome) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
outcome
Deprecated, for removal: This API element is subject to removal in a future version. -
statusCode
private final int statusCodeDeprecated, for removal: This API element is subject to removal in a future version. -
body
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Result
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
withoutExchange
Deprecated, for removal: This API element is subject to removal in a future version. -
getOutcome
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- what happened; never
null
-
getStatusCode
public int getStatusCode()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the HTTP status code, or
-1when no HTTP exchange completed
-
getBody
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the response body as UTF-8 text, or
nullwhen no HTTP exchange completed
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
CloudPlayerLinksreports its own outcomes. Removed in 6.4.0 withUltiCloudRequests.