uk.ltd.getahead.dwr
Interface WebContextBuilder

All Known Implementing Classes:
DefaultWebContextBuilder

public interface WebContextBuilder

Class to enable us to access servlet parameters.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Method Summary
 WebContext get()
           
 void set(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletConfig config, javax.servlet.ServletContext context, Container container)
          Make the current thread know what the current request is.
 void unset()
          Unset the current ExecutionContext This method is only for use internally to DWR.
 

Method Detail

set

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

Parameters:
request - The incoming http request
response - The outgoing http reply
config - The servlet configuration
context - The servlet context
container - The IoC container
See Also:
unset()

get

public WebContext get()
Returns:
The WebContext that is associated with this thread

unset

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

See Also:
set(HttpServletRequest, HttpServletResponse, ServletConfig, ServletContext, Container)

Copyright ? 2005