HTTP.Servlet.Response.setResponseContent()

Signature

void setResponseContent(Object context, Object content, boolean commitResponse)

Domain

ACTION, CONDITION, BUI

Description

Sets the String or byte[] response content in the servlet response, and sends the response.

Parameters

NameTypeDescription
contextObjectThe context (AsyncContext) associated with a servlet request/response.
contentObjectThe String/byte[] response content.
commitResponsebooleanWhether response should be immediately committed or not.

Returns

TypeDescription
void