Name | Signature and Synopsis |
---|---|
getCookie | Object getCookie(String cookieName, String cookieValue, String domain, String path, int expiry) Creates a cookie object to be set on the response. |
sendRedirectTo | void sendRedirectTo(Object context, String redirectURL) Responds by redirecting the client to a different URL. |
setCookie | void setCookie(Object response, Object cookie) Adds a cookie object to the response. |
setResponseContent | void setResponseContent(Object context, Object content, boolean commitResponse) Sets the String or byte[] response content in the servlet response, and sends the response. |
setResponseHeader | void setResponseHeader(Object response, String headerName, String headerValue) Sets a response header. |
setResponseStatusCode | void setResponseStatusCode(Object context, int statusCode) Sets the status code in the servlet response. |