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.
 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()

disengageThread

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

See Also:
engageThread(Container, HttpServletRequest, HttpServletResponse)

Copyright 2008