- TIBCO BusinessEvents®
- Standard
- HTTP
- Servlet
- Response

# HTTP.Servlet.Response.setCookie()

## Signature

`void setCookie(Object response, Object cookie)`

## Domain

ACTION, CONDITION, BUI

## Description

Adds a cookie object to the response.

## Parameters

Name | Type | Description
--- | --- | ---
`response` | `Object` | The servlet response.
`cookie` | `Object` | The cookie object.

## Returns

Type | Description
--- | ---
`void` |

## See Also

getCookie