File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
core/sdk-core/src/main/java/software/amazon/awssdk/core/interceptor Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,16 @@ public interface FailedExecution {
192
192
SdkRequest request ();
193
193
194
194
/**
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()}.
197
198
*/
198
199
Optional <SdkHttpRequest > httpRequest ();
199
200
200
201
/**
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()}.
203
205
*/
204
206
Optional <SdkHttpResponse > httpResponse ();
205
207
You can’t perform that action at this time.
0 commit comments