The end method of the Response class causes the Web server to stop processing the script and return the current result.
public void end();