Skip to content

Commit

Permalink
Update javadocs for FailedExecution.Context (#4808)
Browse files Browse the repository at this point in the history
* Update javadocs for FailedExecution.Context

* Update javadocs for FailedExecution.Context
  • Loading branch information
davidh44 authored Jan 3, 2024
1 parent c5c3d9e commit 523a6a4
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,16 @@ public interface FailedExecution {
SdkRequest request();

/**
* The latest version of the {@link SdkHttpFullRequest} available when the execution failed. If the execution failed
* before or during request marshalling, this will return {@link Optional#empty()}.
* The latest version of the {@link SdkHttpRequest} available when the execution failed. This may be a
* {@link SdkHttpFullRequest}; if so, it can be accessed by casting the returned {@link SdkHttpRequest}.
* If the execution failed before or during request marshalling, this will return {@link Optional#empty()}.
*/
Optional<SdkHttpRequest> httpRequest();

/**
* The latest version of the {@link SdkHttpFullResponse} available when the execution failed. If the execution failed
* before or during transmission, this will return {@link Optional#empty()}.
* The latest version of the {@link SdkHttpResponse} available when the execution failed. This may be a
* {@link SdkHttpFullResponse}; if so, it can be accessed by casting the returned {@link SdkHttpResponse}.
* If the execution failed before or during transmission, this will return {@link Optional#empty()}.
*/
Optional<SdkHttpResponse> httpResponse();

Expand Down

0 comments on commit 523a6a4

Please sign in to comment.