Package net.snowflake.client.core
Class HttpResponseWithHeaders
- java.lang.Object
-
- net.snowflake.client.core.HttpResponseWithHeaders
-
@SnowflakeJdbcInternalApi public class HttpResponseWithHeaders extends Object
Simple container for HTTP response data including both body and headers. This provides a clean interface for methods that need access to response headers without exposing internal HTTP client implementation details.
-
-
Constructor Summary
Constructors Constructor Description HttpResponseWithHeaders(String responseBody, Map<String,String> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getHeaders()Get the HTTP response headers as an immutable map.StringgetResponseBody()Get the HTTP response body as a string.
-
-
-
Method Detail
-
getResponseBody
public String getResponseBody()
Get the HTTP response body as a string.- Returns:
- the response body
-
-