org.directwebremoting
Interface WebContextFactory.WebContextBuilder

All Known Implementing Classes:
DefaultWebContextBuilder
Enclosing class:
WebContextFactory

public static interface WebContextFactory.WebContextBuilder

Class to enable us to access servlet parameters. This class is for internal use only.


Method Summary
 void disengageThread()
          Unset the current ExecutionContext This method is only for use internally to DWR.
 void engageThread(Container container, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Make the current thread know what the current request is.
 void engageThread(WebContext webContext)
          Make the current thread know what the current request is.
 WebContext get()
          Accessor for the WebContext that is associated with this thread.
 

Method Detail

get

WebContext get()
Accessor for the WebContext that is associated with this thread. This method is only for use internally to DWR.

See Also:
WebContextFactory.get()

engageThread

void engageThread(Container container,
                  javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
Make the current thread know what the current request is. This method is only for use internally to DWR.

Parameters:
container - The IoC container
request - The incoming http request
response - The outgoing http reply
See Also:
disengageThread()

engageThread

void engageThread(WebContext webContext)
Make the current thread know what the current request is. Uses an existing WebContext for example from another thread. This method is only for use internally to DWR.

See Also:
disengageThread()

disengageThread

void disengageThread()
Unset the current ExecutionContext This method is only for use internally to DWR.

See Also:
engageThread(Container, HttpServletRequest, HttpServletResponse)

Copyright ยจ 2008