Share:

PREVIOUS  |  NEXT

response


The following table lists the available methods for the response object:

Return Type Method Explanation
voidsetContentType(String)Sets the contentType of the HTTP response object.
voidsetHeader(String, String)Sets the header of the HTTP response object.
voidsetRedirect(String)Redirects to the desired internal Workflow URL.
This method does not support external URLs.
voidsetStatus(Integer)Sets the status of the HTTP response object.
voidwrite(File)Writes the content of the file into the HTTP response object.
voidwrite (File, String)Writes file and text from the String into the HTTP response object.
voidwrite (String)Writes text from the String into the HTTP response object.