org.codehaus.waffle.context
Class CurrentHttpServletRequest

java.lang.Object
  extended by org.codehaus.waffle.context.CurrentHttpServletRequest

public class CurrentHttpServletRequest
extends java.lang.Object

This class uses a ThreadLocal to allow access to the current HttpServletRequest. This is needed so that components registered with waffle can have dependencies on the HttpServletRequest and HttpSession.

Author:
Michael Ward

Method Summary
static javax.servlet.http.HttpServletRequest get()
           
static void set(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static javax.servlet.http.HttpServletRequest get()

set

public static void set(javax.servlet.http.HttpServletRequest request)


Copyright © 2008. All Rights Reserved.