com.arsdigita.sitenode
Class SiteNodeRequestContext

java.lang.Object
  extended bycom.arsdigita.dispatcher.InitialRequestContext
      extended bycom.arsdigita.kernel.KernelRequestContext
          extended bycom.arsdigita.sitenode.SiteNodeRequestContext
All Implemented Interfaces:
RequestContext

Deprecated. Use WebContext instead.

public class SiteNodeRequestContext
extends KernelRequestContext

Generic request context implementation for an application that is chosen by the SiteMapDispatcher. The SiteMapDispatcher sets up a SiteNode object for the site node (URL prefix) where the ACS application is "mounted". JSPApplicationDispatcher can assume that the RequestContext argument it receives is an SiteNodeRequestContext.

Since:
4.5
Version:
$Revision: #13 $ $Date: 2004/04/07 $
Author:
Bill Schneider
See Also:
JSPApplicationDispatcher

Field Summary
static String versionId
          Deprecated.  
 
Constructor Summary
  SiteNodeRequestContext(javax.servlet.http.HttpServletRequest req, RequestContext parent, SiteNode sn, String pathPrefix)
          Deprecated. Build a new application context given an original app context, and a destination site node.
protected SiteNodeRequestContext(SiteNodeRequestContext that)
          Deprecated. Copy constructor.
 
Method Summary
 Locale getLocale()
          Deprecated. Gets the locale for the current request context.
 PackageInstance getPackageInstance()
          Deprecated.  
 String getPageBase()
          Deprecated. Gets the base path, relative to the webapp root, where JSP-based resources (and static pages) will be found.
 ResourceBundle getResourceBundle()
          Deprecated. XXX Only added so that the class compiles.
 SiteNode getSiteNode()
          Deprecated.  
 
Methods inherited from class com.arsdigita.kernel.KernelRequestContext
getSessionContext, getUserContext
 
Methods inherited from class com.arsdigita.dispatcher.InitialRequestContext
getDebugging, getDebuggingXML, getDebuggingXSL, getOriginalURL, getOutputType, getProcessedURLPart, getRemainingURLPart, getServletContext, setProcessedURLPart, setRemainingURLPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SiteNodeRequestContext

protected SiteNodeRequestContext(SiteNodeRequestContext that)
Deprecated. 
Copy constructor.


SiteNodeRequestContext

public SiteNodeRequestContext(javax.servlet.http.HttpServletRequest req,
                              RequestContext parent,
                              SiteNode sn,
                              String pathPrefix)
Deprecated. 
Build a new application context given an original app context, and a destination site node. Part of the previously-remaining URL is consumed by the site node's URL, and part remains.

Method Detail

getSiteNode

public SiteNode getSiteNode()
Deprecated. 
Returns:
the site node referenced by this request.

getLocale

public Locale getLocale()
Deprecated. 
Description copied from interface: RequestContext
Gets the locale for the current request context.

Specified by:
getLocale in interface RequestContext
Overrides:
getLocale in class InitialRequestContext
Returns:
the locale preferred by the user, as specified in the Accept-Language header.

getResourceBundle

public ResourceBundle getResourceBundle()
Deprecated. 
Description copied from class: InitialRequestContext
XXX Only added so that the class compiles.

Specified by:
getResourceBundle in interface RequestContext
Overrides:
getResourceBundle in class InitialRequestContext
Returns:
the right resource bundle for the requested package, in the right locale.

getPageBase

public String getPageBase()
Deprecated. 
Gets the base path, relative to the webapp root, where JSP-based resources (and static pages) will be found.

Specified by:
getPageBase in interface RequestContext
Overrides:
getPageBase in class InitialRequestContext
Returns:
the base path, relative to the webapp root, where JSP-based resources will be found. Returns with a trailing slash, e.g., "/packages/package-key/www/"

getPackageInstance

public PackageInstance getPackageInstance()
Deprecated. 


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC