org.apache.camel.component.jetty
Class CamelContinuationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.camel.component.http.CamelServlet
              extended by org.apache.camel.component.jetty.CamelContinuationServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CamelContinuationServlet
extends org.apache.camel.component.http.CamelServlet

Servlet which leverage Jetty Continuations.

Version:
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.camel.component.http.CamelServlet
log
 
Constructor Summary
CamelContinuationServlet()
           
 
Method Summary
 void destroy()
           
 Long getContinuationTimeout()
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setContinuationTimeout(Long continuationTimeout)
           
 
Methods inherited from class org.apache.camel.component.http.CamelServlet
connect, disconnect, getServletName, init, resolve, setServletName
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelContinuationServlet

public CamelContinuationServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       IOException
Overrides:
service in class org.apache.camel.component.http.CamelServlet
Throws:
javax.servlet.ServletException
IOException

getContinuationTimeout

public Long getContinuationTimeout()

setContinuationTimeout

public void setContinuationTimeout(Long continuationTimeout)

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet


Apache CAMEL