You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: datamodel/odata-client/src/main/java/com/sap/cloud/sdk/datamodel/odata/client/request/ODataHealthyResponseValidator.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,13 +38,13 @@ class ODataHealthyResponseValidator
Copy file name to clipboardExpand all lines: datamodel/odata-client/src/main/java/com/sap/cloud/sdk/datamodel/odata/client/request/ODataRequestResult.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,11 @@
7
7
importjava.util.TreeMap;
8
8
9
9
importjavax.annotation.Nonnull;
10
+
importjavax.annotation.Nullable;
10
11
11
12
importorg.apache.http.Header;
12
13
importorg.apache.http.HttpResponse;
14
+
importorg.apache.http.StatusLine;
13
15
14
16
/**
15
17
* Generic type of an OData request result.
@@ -32,6 +34,17 @@ public interface ODataRequestResult
32
34
@Nonnull
33
35
HttpResponsegetHttpResponse();
34
36
37
+
/**
38
+
* Get the HTTP response object status line.
39
+
*
40
+
* @return the StatusLine.
41
+
*/
42
+
@Nullable
43
+
defaultStatusLinegetStatusLine()
44
+
{
45
+
returngetHttpResponse().getStatusLine();
46
+
}
47
+
35
48
/**
36
49
* Get the iterable list of HTTP response header names.
Copy file name to clipboardExpand all lines: datamodel/odata-client/src/main/java/com/sap/cloud/sdk/datamodel/odata/client/request/ODataRequestResultGeneric.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,13 @@ public ODataRequestResultGeneric(
Copy file name to clipboardExpand all lines: datamodel/odata-client/src/main/java/com/sap/cloud/sdk/datamodel/odata/client/request/ODataRequestResultMultipartGeneric.java
0 commit comments