org.apache.cactus.internal.configuration
Interface WebConfiguration
- All Superinterfaces:
- Configuration
- All Known Subinterfaces:
- FilterConfiguration, JspConfiguration, ServletConfiguration
- All Known Implementing Classes:
- AbstractWebConfiguration, DefaultFilterConfiguration, DefaultJspConfiguration, DefaultServletConfiguration
- public interface WebConfiguration
- extends Configuration
Extends the generic Configuration
interface with methods
provided configuration information related to Web redirectors.
- Version:
- $Id: WebConfiguration.java,v 1.1 2004/05/22 11:34:46 vmassol Exp $
getDefaultRedirectorURL
public java.lang.String getDefaultRedirectorURL()
- Returns:
- the redirector URL for the default redirector
getDefaultRedirectorName
public java.lang.String getDefaultRedirectorName()
- Returns:
- the default redirector name as defined by the Cactus
configuration
getRedirectorURL
public java.lang.String getRedirectorURL(WebRequest theRequest)
- Parameters:
theRequest
- the Web request used to connect to the redirector
- Returns:
- the redirector URL for the redirector to use. It is either
the default redirector name or the redirector defined in
the Web
getRedirectorName
public java.lang.String getRedirectorName(WebRequest theRequest)
- Parameters:
theRequest
- the Web request used to connect to the redirector
- Returns:
- the redirector name to use. It is either the default
redirector name or the redirector defined in the Web
Request if it has been overriden
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.