Skip to content

Commit 523a6a4

Browse files
authored
Update javadocs for FailedExecution.Context (#4808)
* Update javadocs for FailedExecution.Context * Update javadocs for FailedExecution.Context
1 parent c5c3d9e commit 523a6a4

File tree

1 file changed

+6
-4
lines changed
  • core/sdk-core/src/main/java/software/amazon/awssdk/core/interceptor

1 file changed

+6
-4
lines changed

core/sdk-core/src/main/java/software/amazon/awssdk/core/interceptor/Context.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,16 @@ public interface FailedExecution {
192192
SdkRequest request();
193193

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

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

0 commit comments

Comments
 (0)