|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.dispatcher.InitialRequestContext
Implements a request context for the site map application or for any application dispatcher that creates the first application context for an incoming request.
| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
|
InitialRequestContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext sctx)
Constructs a new request context from the given servlet request. |
protected |
InitialRequestContext(RequestContext that)
Copy constructor. |
| Method Summary | |
boolean |
getDebugging()
Gets the debugging flag. |
boolean |
getDebuggingXML()
Gets the show-XML-only flag. |
boolean |
getDebuggingXSL()
Gets the show-XSL-only flag. |
Locale |
getLocale()
Gets the locale for the current request context. |
String |
getOriginalURL()
Gets the original URL requested by the end user's browser. |
String |
getOutputType()
Gets the requested output type. |
String |
getPageBase()
At this point, we're not in any specific package, so just returns '/'. |
String |
getProcessedURLPart()
Returns the portion of the requested URL that was used so by far by all previous dispatchers in the chain. |
String |
getRemainingURLPart()
Returns the portion of the requested URL that has not already been used by all previous dispatchers in the chain. |
ResourceBundle |
getResourceBundle()
XXX Only added so that the class compiles. |
javax.servlet.ServletContext |
getServletContext()
Gets the current servlet context. |
protected void |
setProcessedURLPart(String s)
Sets the portion of the requested URL that has already been processed by all the previous dispatchers in the chain. |
protected void |
setRemainingURLPart(String s)
Sets the portion of the requested URL that has not already been processed by any previous dispatcher in the chain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
protected InitialRequestContext(RequestContext that)
InitialRequestContext with identical properties
as the parameter that. This is useful for deferred
construction of subclass objects with the same properties.
that - a request context to copy basic properties from.
public InitialRequestContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext sctx)
request - the servlet requestsctx - the servlet context| Method Detail |
public String getProcessedURLPart()
getProcessedURLPart in interface RequestContextpublic String getRemainingURLPart()
getRemainingURLPart in interface RequestContextprotected void setRemainingURLPart(String s)
s - the remaining unprocessed URL portionprotected void setProcessedURLPart(String s)
s - the remaining unprocessed URL portionpublic String getOriginalURL()
RequestContext
getOriginalURL in interface RequestContextpublic javax.servlet.ServletContext getServletContext()
RequestContext
getServletContext in interface RequestContextpublic String getPageBase()
getPageBase in interface RequestContextpublic Locale getLocale()
RequestContext
getLocale in interface RequestContextpublic String getOutputType()
RequestContext
getOutputType in interface RequestContextpublic ResourceBundle getResourceBundle()
getResourceBundle in interface RequestContextjava.util.ResourceBundle to use
in this request.public boolean getDebugging()
RequestContext
getDebugging in interface RequestContextpublic boolean getDebuggingXML()
RequestContext
getDebuggingXML in interface RequestContextPresentationManager should output raw, untransformed
XML instead of processing it with XSLT.public boolean getDebuggingXSL()
RequestContext
getDebuggingXSL in interface RequestContextPresentationManager should output the XSLT stylesheet
in effect for this request.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||