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

# HTTP.Servlet.Response.setResponseStatusCode()

## Signature

`void setResponseStatusCode(Object context, int statusCode)`

## Domain

ACTION, CONDITION, BUI

## Description

Sets the status code in the servlet response.

## Parameters

Name | Type | Description
--- | --- | ---
`response` | `Object` | The servlet response.
`statusCode` | `int` | The status code.

## Returns

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