Class OpenApiResponse
java.lang.Object
com.sap.cloud.sdk.services.openapi.core.OpenApiResponse
Response object for OpenAPI calls containing status code
-
Constructor Summary
ConstructorDescriptionOpenApiResponse
(int statusCode) Create a newOpenApiResponse
from an http status code.OpenApiResponse
(ApiClient client) Create a newOpenApiResponse
from anApiClient
-
Method Summary
Modifier and TypeMethodDescriptionHttp headers of this response.int
Http status code of this response.
-
Constructor Details
-
OpenApiResponse
Create a newOpenApiResponse
from anApiClient
- Parameters:
client
- A client that was used to execute an HTTP request.
-
OpenApiResponse
public OpenApiResponse(int statusCode) Create a newOpenApiResponse
from an http status code.- Parameters:
statusCode
- The status code for this http response.
-
-
Method Details
-
getStatusCode
public int getStatusCode()Http status code of this response. -
getHeaders
Http headers of this response.
-