org.directwebremoting.extend
Interface RealWebContext

All Superinterfaces:
ServerContext, WebContext
All Known Implementing Classes:
DefaultWebContext

public interface RealWebContext
extends WebContext

An interface that extends WebContext with some functions that should not be used by end users, but could be useful to system extenders.

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

Field Summary
 
Fields inherited from interface org.directwebremoting.WebContext
ATTRIBUTE_DWR
 
Method Summary
 void initialize(java.lang.String sentPage, RealScriptSession scriptSession)
          Fill in the page details from the servlet request.
 
Methods inherited from interface org.directwebremoting.WebContext
forwardToString, getCurrentPage, getHttpServletRequest, getHttpServletResponse, getScriptSession, getSession, getSession
 
Methods inherited from interface org.directwebremoting.ServerContext
getAllScriptSessions, getContainer, getContextPath, getScriptSessionById, getScriptSessionsByPage, getServletConfig, getServletContext, getVersion
 

Method Detail

initialize

void initialize(java.lang.String sentPage,
                RealScriptSession scriptSession)
Fill in the page details from the servlet request.

This method should be used by anything that parses a batch, and then allows either uses a WebContext or allows other things to use a WebContext.

Parameters:
sentPage - The URL of the current page
scriptSession - The active ScriptSession

Copyright ยจ 2008