Interface IAsyncRequestContext
-
- All Superinterfaces:
IRequestContext
- All Known Implementing Classes:
ServletRequestContext
public interface IAsyncRequestContext extends IRequestContext
-
-
Field Summary
-
Fields inherited from interface org.symphonyoss.s2.canon.runtime.http.IRequestContext
FORM_CONTENT_TYPE, JSON_CONTENT_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.servlet.ServletInputStreamgetInputStream()javax.servlet.ServletOutputStreamgetOutputStream()Get an OutputStream or the response.javax.servlet.AsyncContextstartAsync()-
Methods inherited from interface org.symphonyoss.s2.canon.runtime.http.IRequestContext
asBoolean, asImmutableByteArray, asInteger, asLong, asString, error, error, error, getMethod, getParameterAsBoolean, getParameterAsImmutableByteArray, getParameterAsInteger, getParameterAsLong, getParameterAsString, getPathInfo, getReader, getTrace, getWriter, parseListPayload, parseListPayload, parsePayload, parsePayload, parsePayload, preConditionsAreMet, sendError, sendErrorResponse, sendOKResponse, sendOKResponse, sendOKResponse, setContentType, setHeader, setStatus
-
-
-
-
Method Detail
-
getInputStream
javax.servlet.ServletInputStream getInputStream() throws IOException- Throws:
IOException
-
getOutputStream
javax.servlet.ServletOutputStream getOutputStream() throws IOExceptionDescription copied from interface:IRequestContextGet an OutputStream or the response. Either a Writer or an OutputStream can be obtained, but not both.- Specified by:
getOutputStreamin interfaceIRequestContext- Returns:
- A Writer or the response.
- Throws:
IOException- If getWriter() has previously been called.
-
startAsync
javax.servlet.AsyncContext startAsync()
-
-