org.beanlet.rest
Class RequestContextListener

java.lang.Object
  extended by org.beanlet.rest.RequestContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletRequestListener

public class RequestContextListener
extends Object
implements javax.servlet.ServletRequestListener

Add the following configuration to the web application's web.xml file to support restlets.
Not required for Servlet 3.0 containers.

 <web-app>
   ...
   <listener>
     <listener-class>org.beanlet.rest.RequestContextListener<listener-class>
   </listener>
   ...
 </web-app>
 


Constructor Summary
RequestContextListener()
           
 
Method Summary
 void requestDestroyed(javax.servlet.ServletRequestEvent event)
           
 void requestInitialized(javax.servlet.ServletRequestEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContextListener

public RequestContextListener()
Method Detail

requestInitialized

public void requestInitialized(javax.servlet.ServletRequestEvent event)
Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener

requestDestroyed

public void requestDestroyed(javax.servlet.ServletRequestEvent event)
Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener


Copyright © 2006-2012. All Rights Reserved.