> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CdpClientHttpResponse<T>

> CdpClientHttpResponse<T> API reference.

Package: [`com.coinbase.cdp.core`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/index)

```java theme={null}
public final class CdpClientHttpResponse<T> extends Object
```

## Constructor Details

### `CdpClientHttpResponse`

```java theme={null}
public CdpClientHttpResponse(T body, okhttp3.Response rawResponse)
```

**Parameters:**

`body` - `T`

`rawResponse` - `okhttp3.Response`

## Method Details

### `body`

```java theme={null}
public T body()
```

**Returns:**

`T`

### `headers`

```java theme={null}
public Map<String,List<String>> headers()
```

**Returns:**

`Map<String,List<String>>`
