org.jboss.resteasy.plugins.server.servlet
Class JBossWebAsyncHttpRequest

java.lang.Object
  extended by org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage
      extended by org.jboss.resteasy.plugins.server.servlet.JBossWebAsyncHttpRequest
All Implemented Interfaces:
HttpRequest

public class JBossWebAsyncHttpRequest
extends HttpServletInputMessage

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  org.jboss.servlet.http.HttpEvent event
           
 
Fields inherited from class org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage
asynchronousResponse, decodedFormParameters, dispatcher, formParameters, httpHeaders, httpMethod, httpResponse, latch, overridenStream, preProcessedPath, request, suspended, suspendTimeout, uri
 
Constructor Summary
JBossWebAsyncHttpRequest(javax.servlet.http.HttpServletRequest httpServletRequest, HttpResponse httpResponse, HttpHeaders httpHeaders, UriInfo uriInfo, java.lang.String httpMethodName, SynchronousDispatcher synchronousDispatcher, org.jboss.servlet.http.HttpEvent event)
           
 
Method Summary
 AsynchronousResponse createAsynchronousResponse(long l)
          This method will create an asynchronous response and prepare the request to be issued asynchronously
 void initialRequestThreadFinished()
          Callback by the initial calling thread.
 
Methods inherited from class org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage
getAsynchronousResponse, getAttribute, getDecodedFormParameters, getFormParameters, getHttpHeaders, getHttpMethod, getInputStream, getPreprocessedPath, getPutDecodedFormParameters, getPutFormParameters, getUri, isInitial, isSuspended, isTimeout, removeAttribute, setAttribute, setInputStream, setPreprocessedPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

protected org.jboss.servlet.http.HttpEvent event
Constructor Detail

JBossWebAsyncHttpRequest

public JBossWebAsyncHttpRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
                                HttpResponse httpResponse,
                                HttpHeaders httpHeaders,
                                UriInfo uriInfo,
                                java.lang.String httpMethodName,
                                SynchronousDispatcher synchronousDispatcher,
                                org.jboss.servlet.http.HttpEvent event)
Method Detail

initialRequestThreadFinished

public void initialRequestThreadFinished()
Description copied from interface: HttpRequest
Callback by the initial calling thread. This callback will probably do nothing in an asynchronous environment but will be used to simulate AsynchronousResponse in vanilla Servlet containers that do not support asychronous HTTP.

Specified by:
initialRequestThreadFinished in interface HttpRequest
Overrides:
initialRequestThreadFinished in class HttpServletInputMessage

createAsynchronousResponse

public AsynchronousResponse createAsynchronousResponse(long l)
Description copied from interface: HttpRequest
This method will create an asynchronous response and prepare the request to be issued asynchronously

Specified by:
createAsynchronousResponse in interface HttpRequest
Overrides:
createAsynchronousResponse in class HttpServletInputMessage
Returns:


Copyright © 2010. All Rights Reserved.