public static interface IExecutionContext.IResponse
Modifier and Type | Method and Description |
---|---|
void |
addDateHeader(String key,
long value) |
void |
addHeader(String key,
String value) |
void |
addIntHeader(String key,
int value) |
String |
createActionURL()
Deprecated.
Use getActionUrl() from context
|
String |
encodeURL(String path) |
Object |
getNativeResponse() |
OutputStream |
getOutputStream() |
PrintWriter |
getWriter() |
void |
sendError(int errorCode,
String errorMessage) |
void |
sendRedirect(String url) |
void |
setContentLength(int len) |
void |
setContentType(String contentType) |
void |
setHeader(String key,
String value) |
void |
setStatus(int status) |
Object getNativeResponse()
PrintWriter getWriter() throws IOException
IOException
void setStatus(int status)
void setContentLength(int len)
void setContentType(String contentType)
void sendError(int errorCode, String errorMessage) throws IOException
IOException
@Deprecated String createActionURL()
OutputStream getOutputStream() throws IOException
IOException
void addIntHeader(String key, int value)
void addDateHeader(String key, long value)
void sendRedirect(String url) throws IOException
IOException
Copyright © 2021 Visiativ Software. All rights reserved.