Interface IExecutionContext.IResponse
- Enclosing interface:
IExecutionContext
public static interface IExecutionContext.IResponse
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDateHeader(String key, long value) voidvoidaddIntHeader(String key, int value) Deprecated.Use getActionUrl() from contextvoidvoidsendRedirect(String url) voidsetContentLength(int len) voidsetContentType(String contentType) voidvoidsetStatus(int status)
-
Method Details
-
getNativeResponse
Object getNativeResponse() -
getWriter
- Throws:
IOException
-
setStatus
void setStatus(int status) -
setContentLength
void setContentLength(int len) -
setContentType
-
encodeURL
-
sendError
- Throws:
IOException
-
createActionURL
Deprecated.Use getActionUrl() from context- Returns:
-
getOutputStream
- Throws:
IOException
-
setHeader
-
addHeader
-
addIntHeader
-
addDateHeader
-
sendRedirect
- Throws:
IOException
-