org.beanlet.web
Interface WebContext


public interface WebContext

Provides access to the web runtime context of the beanlet instance.


Method Summary
 javax.servlet.ServletRequest getServletRequest()
          Returns the current ServletRequest.
 

Method Detail

getServletRequest

javax.servlet.ServletRequest getServletRequest()
                                               throws BeanletStateException
Returns the current ServletRequest.

Throws:
BeanletStateException - if the current thread is not associated with a servlet call.


Copyright © 2006-2012. All Rights Reserved.