com.cc.framework.adapter
Interface RequestContext

All Superinterfaces:
HttpContext
All Known Subinterfaces:
ActionContext, ControlActionContext, ControlRequestContext, FormActionContext, PainterContext
All Known Implementing Classes:
ActionContextWrapper, CellPainterContext, ConcreteActionContext, ConcreteControlActionContext, ConcreteFormActionContext, PainterContextImp, PainterContextWrapper

public interface RequestContext
extends HttpContext

If an action is called, all relevant informations (like the session, request, response object) are passed by a context object which implements this interface.

Since:
1.0
Version:
$Revision: 1.7 $
Author:
Harald Schulz

Method Summary
 java.util.Locale getLocale()
          Returns the current Locale for this Request
 RequestContext getNestedContext()
          Gets the nested Action Context
 Principal getPrincipal()
          Returns the Principal Object in the current User session
 
Methods inherited from interface com.cc.framework.http.HttpContext
getAttribute, getServletContext, request, response, session
 

Method Detail

getNestedContext

public RequestContext getNestedContext()
Gets the nested Action Context

Returns:
The nested Action Context

getPrincipal

public Principal getPrincipal()
Returns the Principal Object in the current User session

Returns:
The object which implements the principal interface

getLocale

public java.util.Locale getLocale()
Returns the current Locale for this Request

Returns:
Locale


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.