public class JettyContinuationsServlet extends AbstractErraiServlet
AbstractErraiServlet.ConnectionPhase
service, sessionProvider, SSE_TERMINATION_BYTES
Constructor and Description |
---|
JettyContinuationsServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Called by the server (via the service method) to allow a servlet to handle a GET request by supplying
a response
|
protected void |
doPost(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Called by the server (via the
service method) to allow a servlet to handle a POST request, by
sending the request. |
destroy, getClientId, getConnectionPhase, getLongPollTimeout, getSSETimeout, init, initAsFilter, isLongPollingEnabled, isSSERequest, prepareCometPoll, prepareSSE, prepareSSEContinue, sendDisconnectDueToSessionExpiry, sendDisconnectWithReason, shouldWait, writeExceptionToOutputStream, writeToOutputStream
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
httpServletRequest
- - object that contains the request the client has made of the servlethttpServletResponse
- - object that contains the response the servlet sends to the clientIOException
- - if an input or output error is detected when the servlet handles the GET requestjavax.servlet.ServletException
- - if the request for the GET could not be handledprotected void doPost(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws javax.servlet.ServletException
service
method) to allow a servlet to handle a POST request, by
sending the request.doPost
in class javax.servlet.http.HttpServlet
httpServletRequest
- - object that contains the request the client has made of the servlethttpServletResponse
- - object that contains the response the servlet sends to the clientIOException
- - if an input or output error is detected when the servlet handles the requestjavax.servlet.ServletException
- - if the request for the POST could not be handledCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.