setHttpStatusCode(int) method

Syntax

public void setHttpStatusCode ( int httpStatus )